Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002237/0.002237, allocations: 183 kB / 16.63 MB, free: 5.137 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.288/1.288, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0009692/0.0009696, allocations: 101.7 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3287/0.3287, allocations: 43.49 MB / 360.7 MB, free: 51.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.92 kB / 429.2 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1216, allocations: 57.77 MB / 487 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.2739/0.3956, allocations: 70.22 MB / 0.5442 GB, free: 19.96 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03251/0.4282, allocations: 14.05 MB / 0.5579 GB, free: 10.57 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01765/0.4459, allocations: 309.3 kB / 0.5582 GB, free: 10.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007435/0.4533, allocations: 4.225 MB / 0.5623 GB, free: 8.562 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007366/0.4608, allocations: 2.132 MB / 0.5644 GB, free: 7.598 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.4633, allocations: 0.8463 MB / 0.5652 GB, free: 7.223 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01532/0.4786, allocations: 8.565 MB / 0.5736 GB, free: 4.734 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009875/0.4885, allocations: 5.186 MB / 0.5787 GB, free: 2.84 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004713/0.4933, allocations: 1.96 MB / 0.5806 GB, free: 2.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/0.4987, allocations: 3.128 MB / 0.5836 GB, free: 368 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.5005, allocations: 342.2 kB / 0.5839 GB, free: 368 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/0.5048, allocations: 1.281 MB / 0.5852 GB, free: 15.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005047/0.5099, allocations: 2.517 MB / 0.5877 GB, free: 14.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005377/0.5153, allocations: 2.878 MB / 0.5905 GB, free: 11.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.5256, allocations: 9.182 MB / 0.5994 GB, free: 2.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5257, allocations: 0 / 0.5994 GB, free: 2.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5257, allocations: 0 / 0.5994 GB, free: 2.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003388/0.526, allocations: 0 / 0.5994 GB, free: 2.312 MB / 410.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.01567/0.5417, allocations: 6.343 MB / 0.6056 GB, free: 11.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.5418, allocations: 8.031 kB / 0.6056 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01154/0.5533, allocations: 2.618 MB / 0.6082 GB, free: 9.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009587/0.563, allocations: 3.973 MB / 0.6121 GB, free: 5.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.5633, allocations: 316.5 kB / 0.6124 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/0.5651, allocations: 447.9 kB / 0.6128 GB, free: 4.469 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/0.5867, allocations: 12.24 MB / 0.6248 GB, free: 7.453 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.5869, allocations: 51.44 kB / 0.6248 GB, free: 7.402 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007416/0.5876, allocations: 195.8 kB / 0.625 GB, free: 7.211 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003535/0.5912, allocations: 2.203 MB / 0.6271 GB, free: 5.008 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02026/0.6115, allocations: 10.53 MB / 0.6374 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06061/0.6721, allocations: 47.58 MB / 0.6839 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.6832, allocations: 4.602 MB / 0.6884 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.6869, allocations: 2.641 MB / 0.691 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2213/0.9083, allocations: 10.44 MB / 0.7012 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.9084, allocations: 55.19 kB / 0.7012 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=192): time 5.43e-06/0.9084, allocations: 0 / 0.7012 GB, free: 151.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=218): time 0.05024/0.9586, allocations: 20.97 MB / 0.7217 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.9587, allocations: 205.1 kB / 0.7219 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006069/0.9648, allocations: 4.821 MB / 0.7266 GB, free: 142 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004087/0.9652, allocations: 56.7 kB / 0.7267 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002131/0.9674, allocations: 3.733 MB / 0.7303 GB, free: 139 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009124/0.9683, allocations: 0.8297 MB / 0.7311 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001796/0.9701, allocations: 1.393 MB / 0.7325 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.9702, allocations: 301.7 kB / 0.7328 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003686/0.9739, allocations: 2.579 MB / 0.7353 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006011/0.9799, allocations: 6.563 MB / 0.7417 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.9911, allocations: 9.803 MB / 0.7513 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002191/0.9914, allocations: 39.53 kB / 0.7513 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02086/1.012, allocations: 10.27 MB / 0.7613 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002205/1.013, allocations: 65.56 kB / 0.7614 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003735/1.013, allocations: 141.3 kB / 0.7615 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004565/1.018, allocations: 1.621 MB / 0.7631 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005371/1.023, allocations: 1.561 MB / 0.7646 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/1.034, allocations: 9.564 MB / 0.774 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00658/1.041, allocations: 381.1 kB / 0.7743 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.043, allocations: 407.5 kB / 0.7747 GB, free: 107.2 MB / 0.4948 GB 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.006272/1.049, allocations: 2.57 MB / 0.7772 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.05, allocations: 426.4 kB / 0.7776 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009695/1.06, allocations: 4.624 MB / 0.7822 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.024e-05/1.06, allocations: 20 kB / 0.7822 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.13e-05/1.06, allocations: 8 kB / 0.7822 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.439e-05/1.06, allocations: 15.95 kB / 0.7822 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0234/1.084, allocations: 10.5 MB / 0.7925 GB, free: 89.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/1.084, allocations: 0.75 kB / 0.7925 GB, free: 89.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/1.085, allocations: 347.5 kB / 0.7928 GB, free: 89.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003764/1.089, allocations: 1.355 MB / 0.7941 GB, free: 87.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004011/1.09, allocations: 40.5 kB / 0.7941 GB, free: 87.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009575/1.099, allocations: 8.74 MB / 0.8027 GB, free: 78.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.099, allocations: 8.484 kB / 0.8027 GB, free: 78.92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.076/1.175, allocations: 44.05 MB / 0.8457 GB, free: 34.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/1.178, allocations: 0.7767 MB / 0.8465 GB, free: 33.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/1.179, allocations: 38.06 kB / 0.8465 GB, free: 33.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/1.183, allocations: 135.9 kB / 0.8466 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007554/1.183, allocations: 129.8 kB / 0.8468 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/1.184, allocations: 59.98 kB / 0.8468 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00568/1.189, allocations: 3.045 MB / 0.8498 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.2e-07/1.189, allocations: 0 / 0.8498 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008564/1.198, allocations: 1.659 MB / 0.8514 GB, free: 28.56 MB / 0.4948 GB 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.0005011/1.198, allocations: 174.1 kB / 0.8516 GB, free: 28.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008879/1.207, allocations: 6.38 MB / 0.8578 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.207, allocations: 1.875 kB / 0.8578 GB, free: 22.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002831/1.21, allocations: 2.205 MB / 0.86 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/1.214, allocations: 0.5133 MB / 0.8605 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/1.238, allocations: 16.21 MB / 0.8763 GB, free: 3.016 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2285/1.467, allocations: 4.074 MB / 0.8803 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006039/1.473, allocations: 2.097 MB / 0.8823 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/1.474, allocations: 292.2 kB / 0.8826 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of SimCode: time 2.715e-06/1.474, allocations: 1.375 kB / 0.8826 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.1046/1.579, allocations: 55.58 MB / 0.9369 GB, free: 119.5 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches