Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 115.7 kB / 17.28 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 193.3 kB / 18.19 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 47.92 kB / 280.2 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1023, allocations: 46.63 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.2797/0.382, allocations: 70.16 MB / 396.9 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03785/0.42, allocations: 13.95 MB / 410.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01976/0.4398, allocations: 308.6 kB / 411.2 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007096/0.4469, allocations: 4.077 MB / 415.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006339/0.4533, allocations: 2.107 MB / 417.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.4556, allocations: 0.8676 MB / 418.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008958/0.4646, allocations: 6.131 MB / 424.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009483/0.4741, allocations: 5.588 MB / 430 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005207/0.4793, allocations: 2.256 MB / 432.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005967/0.4853, allocations: 3.252 MB / 435.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002138/0.4875, allocations: 496 kB / 436 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004291/0.4918, allocations: 1.381 MB / 437.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004479/0.4963, allocations: 2.674 MB / 440 MB, free: 76 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006301/0.5026, allocations: 3.036 MB / 443.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.5162, allocations: 9.355 MB / 452.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.5163, allocations: 4 kB / 452.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5163, allocations: 4 kB / 452.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004047/0.5167, allocations: 0 / 452.4 MB, free: 3.871 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01912/0.5358, allocations: 6.344 MB / 458.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.96e-05/0.5359, allocations: 8.031 kB / 458.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01337/0.5493, allocations: 2.613 MB / 461.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/0.5598, allocations: 3.963 MB / 465.3 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000476/0.5603, allocations: 312 kB / 465.6 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/0.5623, allocations: 457.4 kB / 466.1 MB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02765/0.5899, allocations: 12.24 MB / 478.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/0.5903, allocations: 55.52 kB / 478.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001541/0.5918, allocations: 194.8 kB / 478.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004013/0.5959, allocations: 2.199 MB / 480.8 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02222/0.6181, allocations: 10.55 MB / 491.3 MB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07625/0.6944, allocations: 47.57 MB / 0.5263 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.014/0.7085, allocations: 4.598 MB / 0.5308 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00401/0.7126, allocations: 2.639 MB / 0.5333 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2336/0.9462, allocations: 10.43 MB / 0.5435 GB, free: 163.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.9465, allocations: 54.17 kB / 0.5436 GB, free: 163.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=192): time 1.206e-05/0.9465, allocations: 0 / 0.5436 GB, free: 163.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=218): time 0.06736/1.014, allocations: 21.01 MB / 0.5641 GB, free: 156.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.014, allocations: 211.1 kB / 0.5643 GB, free: 155.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009934/1.024, allocations: 4.816 MB / 0.569 GB, free: 152.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007418/1.025, allocations: 53.7 kB / 0.569 GB, free: 152.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002361/1.027, allocations: 3.73 MB / 0.5727 GB, free: 148.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.028, allocations: 0.8265 MB / 0.5735 GB, free: 148.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/1.03, allocations: 1.399 MB / 0.5749 GB, free: 146.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.3e-05/1.03, allocations: 301.1 kB / 0.5751 GB, free: 146.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003013/1.033, allocations: 2.578 MB / 0.5777 GB, free: 143.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004363/1.038, allocations: 6.551 MB / 0.5841 GB, free: 135.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009049/1.047, allocations: 9.806 MB / 0.5936 GB, free: 123.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001119/1.047, allocations: 36 kB / 0.5937 GB, free: 123.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01997/1.067, allocations: 10.28 MB / 0.6037 GB, free: 113.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/1.067, allocations: 64 kB / 0.6038 GB, free: 113.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004256/1.068, allocations: 140 kB / 0.6039 GB, free: 113.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005301/1.073, allocations: 1.623 MB / 0.6055 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00598/1.079, allocations: 1.564 MB / 0.607 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/1.091, allocations: 10.27 MB / 0.617 GB, free: 99.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005739/1.097, allocations: 379.5 kB / 0.6174 GB, free: 99.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/1.099, allocations: 411.6 kB / 0.6178 GB, free: 98.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (834): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005467/1.104, allocations: 2.572 MB / 0.6203 GB, free: 96.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.105, allocations: 426.5 kB / 0.6207 GB, free: 95.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008913/1.114, allocations: 4.625 MB / 0.6252 GB, free: 90.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.193e-05/1.114, allocations: 31.94 kB / 0.6253 GB, free: 90.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.693e-05/1.114, allocations: 4 kB / 0.6253 GB, free: 90.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-05/1.114, allocations: 15.95 kB / 0.6253 GB, free: 90.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02136/1.136, allocations: 10.48 MB / 0.6355 GB, free: 80.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.136, allocations: 4 kB / 0.6355 GB, free: 80.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/1.137, allocations: 350.6 kB / 0.6358 GB, free: 80.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003646/1.141, allocations: 1.363 MB / 0.6372 GB, free: 78.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003327/1.141, allocations: 39.98 kB / 0.6372 GB, free: 78.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009935/1.151, allocations: 9.388 MB / 0.6464 GB, free: 69.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.151, allocations: 4 kB / 0.6464 GB, free: 69.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01037/1.162, allocations: 7.551 MB / 0.6538 GB, free: 61.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.164, allocations: 0.7806 MB / 0.6545 GB, free: 60.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000995/1.165, allocations: 43.88 kB / 0.6546 GB, free: 60.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.167, allocations: 127.8 kB / 0.6547 GB, free: 60.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/1.167, allocations: 133.8 kB / 0.6548 GB, free: 60.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/1.168, allocations: 56.09 kB / 0.6549 GB, free: 60.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004913/1.172, allocations: 3.045 MB / 0.6578 GB, free: 57.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.51e-07/1.172, allocations: 0 / 0.6578 GB, free: 57.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006559/1.179, allocations: 1.259 MB / 0.6591 GB, free: 55.98 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005156/1.18, allocations: 181.6 kB / 0.6592 GB, free: 55.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01142/1.191, allocations: 7.779 MB / 0.6668 GB, free: 48.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.191, allocations: 0 / 0.6668 GB, free: 48.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002878/1.194, allocations: 2.193 MB / 0.669 GB, free: 45.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004295/1.198, allocations: 0.5533 MB / 0.6695 GB, free: 45.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.219, allocations: 14.39 MB / 0.6836 GB, free: 30.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004025/1.223, allocations: 3.999 MB / 0.6875 GB, free: 26.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004378/1.227, allocations: 2.083 MB / 0.6895 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008041/1.228, allocations: 287.4 kB / 0.6898 GB, free: 24.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.123e-06/1.228, allocations: 4 kB / 0.6898 GB, free: 24.47 MB / 446.1 MB Notification: Performance of Templates: time 0.2944/1.523, allocations: 47.37 MB / 0.736 GB, free: 135 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/GearConstraint/GearConstraint.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches