Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 179.5 kB / 16.41 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007671/0.0007671, allocations: 92.78 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004292, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2441, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.04649/0.2906, allocations: 63.66 MB / 438.2 MB, free: 1.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.031/0.3217, allocations: 13.41 MB / 451.6 MB, free: 3.562 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01437/0.3361, allocations: 303.2 kB / 451.9 MB, free: 3.266 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0117/0.3478, allocations: 3.305 MB / 455.2 MB, free: 15.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02668/0.3746, allocations: 9.735 MB / 465 MB, free: 6.172 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004384/0.379, allocations: 0.8152 MB / 465.8 MB, free: 5.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.04011/0.4191, allocations: 34.96 MB / 0.489 GB, free: 2.348 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1903/0.6094, allocations: 6.619 MB / 0.4955 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.6127, allocations: 1.716 MB / 0.4971 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004142/0.6169, allocations: 2.651 MB / 0.4997 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007752/0.6177, allocations: 193.7 kB / 0.4999 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002895/0.6206, allocations: 0.9729 MB / 0.5009 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002588/0.6232, allocations: 2.262 MB / 0.5031 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.6248, allocations: 1.092 MB / 0.5041 GB, free: 33.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009665/0.6344, allocations: 7.412 MB / 0.5114 GB, free: 32.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.6345, allocations: 2.078 kB / 0.5114 GB, free: 32.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.867e-06/0.6345, allocations: 1.312 kB / 0.5114 GB, free: 32.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003168/0.6348, allocations: 0 / 0.5114 GB, free: 32.66 MB / 378.7 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.016/0.6508, allocations: 5.27 MB / 0.5165 GB, free: 29.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6509, allocations: 13.28 kB / 0.5165 GB, free: 29.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.6625, allocations: 2.661 MB / 0.5191 GB, free: 28.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008178/0.6707, allocations: 3.906 MB / 0.523 GB, free: 27.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.6709, allocations: 309.7 kB / 0.5233 GB, free: 27.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.6721, allocations: 451.2 kB / 0.5237 GB, free: 27.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.6903, allocations: 12.22 MB / 0.5356 GB, free: 21.56 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.6905, allocations: 55.08 kB / 0.5357 GB, free: 21.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004727/0.691, allocations: 194.3 kB / 0.5359 GB, free: 21.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003067/0.694, allocations: 2.214 MB / 0.538 GB, free: 19.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.7133, allocations: 10.51 MB / 0.5483 GB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05577/0.7691, allocations: 47.57 MB / 0.5947 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.7804, allocations: 4.586 MB / 0.5992 GB, free: 1.125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00369/0.7842, allocations: 2.639 MB / 0.6018 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/0.8012, allocations: 10.43 MB / 0.612 GB, free: 5.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.8013, allocations: 58.78 kB / 0.612 GB, free: 5.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=192): time 5.861e-06/0.8013, allocations: 0 / 0.612 GB, free: 5.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.05993/0.8613, allocations: 20.97 MB / 0.6325 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.8614, allocations: 203.6 kB / 0.6327 GB, free: 488 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009234/0.8707, allocations: 4.802 MB / 0.6374 GB, free: 11.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004867/0.8712, allocations: 61.7 kB / 0.6375 GB, free: 11.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002909/0.8741, allocations: 3.716 MB / 0.6411 GB, free: 7.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001203/0.8753, allocations: 0.8389 MB / 0.6419 GB, free: 7.078 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008068/0.8761, allocations: 136 kB / 0.642 GB, free: 6.945 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006844/0.8768, allocations: 0.5989 MB / 0.6426 GB, free: 6.344 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005336/0.8822, allocations: 2.563 MB / 0.6451 GB, free: 3.777 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00861/0.8908, allocations: 6.529 MB / 0.6515 GB, free: 11.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007157/0.898, allocations: 3.999 MB / 0.6554 GB, free: 7.488 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001293/0.8982, allocations: 40 kB / 0.6554 GB, free: 7.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.2096/1.108, allocations: 10.22 MB / 0.6654 GB, free: 111 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.31e-05/1.108, allocations: 64 kB / 0.6655 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/1.108, allocations: 137.8 kB / 0.6656 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004432/1.113, allocations: 1.638 MB / 0.6672 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005105/1.118, allocations: 1.563 MB / 0.6687 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/1.13, allocations: 9.543 MB / 0.6781 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/1.135, allocations: 391.1 kB / 0.6784 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000883/1.136, allocations: 416.8 kB / 0.6788 GB, free: 108.3 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004307/1.141, allocations: 2.566 MB / 0.6813 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007368/1.141, allocations: 425.2 kB / 0.6817 GB, free: 108.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007587/1.149, allocations: 4.633 MB / 0.6863 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.631e-05/1.149, allocations: 20.91 kB / 0.6863 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.149, allocations: 8.562 kB / 0.6863 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/1.149, allocations: 11.16 kB / 0.6863 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/1.166, allocations: 10.49 MB / 0.6966 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.484e-05/1.166, allocations: 0 / 0.6966 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.167, allocations: 349.4 kB / 0.6969 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003623/1.171, allocations: 1.352 MB / 0.6982 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002826/1.171, allocations: 47.84 kB / 0.6983 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00894/1.18, allocations: 8.738 MB / 0.7068 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.18, allocations: 0 / 0.7068 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/1.19, allocations: 7.556 MB / 0.7142 GB, free: 100.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/1.192, allocations: 0.7929 MB / 0.7149 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/1.193, allocations: 36.8 kB / 0.715 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/1.195, allocations: 132.3 kB / 0.7151 GB, free: 100.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/1.195, allocations: 129.1 kB / 0.7152 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.195, allocations: 59.2 kB / 0.7153 GB, free: 100 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003871/1.199, allocations: 3.02 MB / 0.7182 GB, free: 97.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.199, allocations: 0 / 0.7182 GB, free: 97.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005638/1.205, allocations: 1.258 MB / 0.7195 GB, free: 96.74 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004224/1.205, allocations: 173.9 kB / 0.7196 GB, free: 96.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00843/1.213, allocations: 6.364 MB / 0.7258 GB, free: 92.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.213, allocations: 3.844 kB / 0.7258 GB, free: 92.28 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002853/1.216, allocations: 2.2 MB / 0.728 GB, free: 90.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/1.219, allocations: 0.5258 MB / 0.7285 GB, free: 90.44 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/1.237, allocations: 14.36 MB / 0.7425 GB, free: 77.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003693/1.241, allocations: 3.969 MB / 0.7464 GB, free: 74.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.242, allocations: 334.6 kB / 0.7467 GB, free: 74.26 MB / 474.7 MB Notification: Performance of SimCode: time 7.51e-07/1.242, allocations: 0 / 0.7467 GB, free: 74.26 MB / 474.7 MB Notification: Performance of Templates: time 0.2751/1.517, allocations: 117.5 MB / 0.8614 GB, free: 204.1 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches