Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00105/0.001051, allocations: 173.5 kB / 16.72 MB, free: 5.082 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.272/1.272, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007936/0.0007935, allocations: 92.92 kB / 271.2 MB, free: 8.254 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.2885/0.2885, allocations: 43.57 MB / 363.1 MB, free: 52.24 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003524, allocations: 16 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09897, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.2158/0.3148, allocations: 63.73 MB / 0.5416 GB, free: 5.051 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02896/0.3438, allocations: 13.39 MB / 0.5546 GB, free: 11.9 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01221/0.3561, allocations: 306.2 kB / 0.5549 GB, free: 11.86 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01092/0.367, allocations: 3.313 MB / 0.5582 GB, free: 10.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02951/0.3966, allocations: 9.769 MB / 0.5677 GB, free: 6.578 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005769/0.4024, allocations: 0.8474 MB / 0.5685 GB, free: 6.246 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04451/0.4469, allocations: 35.01 MB / 0.6027 GB, free: 7.75 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.4571, allocations: 7.13 MB / 0.6097 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003574/0.4607, allocations: 1.72 MB / 0.6114 GB, free: 14.84 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004076/0.4648, allocations: 2.656 MB / 0.614 GB, free: 12.17 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009664/0.4658, allocations: 191.9 kB / 0.6141 GB, free: 11.98 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.4684, allocations: 1.119 MB / 0.6152 GB, free: 10.86 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002526/0.471, allocations: 2.264 MB / 0.6174 GB, free: 8.594 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003166/0.4742, allocations: 2.468 MB / 0.6199 GB, free: 6.105 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00763/0.4818, allocations: 7.412 MB / 0.6271 GB, free: 14.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4818, allocations: 3.938 kB / 0.6271 GB, free: 14.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4818, allocations: 0 / 0.6271 GB, free: 14.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002244/0.4821, allocations: 4 kB / 0.6271 GB, free: 14.67 MB / 458.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.01002/0.4921, allocations: 5.208 MB / 0.6322 GB, free: 9.383 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4922, allocations: 15.97 kB / 0.6322 GB, free: 9.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.5031, allocations: 2.665 MB / 0.6348 GB, free: 6.691 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008358/0.5115, allocations: 3.973 MB / 0.6387 GB, free: 2.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/0.5118, allocations: 312.5 kB / 0.639 GB, free: 2.352 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/0.5134, allocations: 451.9 kB / 0.6394 GB, free: 1.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.5338, allocations: 12.23 MB / 0.6514 GB, free: 4.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.534, allocations: 55.58 kB / 0.6514 GB, free: 4.855 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004842/0.5345, allocations: 199.8 kB / 0.6516 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003235/0.5377, allocations: 2.195 MB / 0.6537 GB, free: 2.465 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/0.5558, allocations: 10.52 MB / 0.664 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2207/0.7765, allocations: 47.58 MB / 0.7105 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009428/0.786, allocations: 4.596 MB / 0.715 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002824/0.7889, allocations: 2.637 MB / 0.7175 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01321/0.8021, allocations: 10.44 MB / 0.7277 GB, free: 99.19 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.8022, allocations: 64.58 kB / 0.7278 GB, free: 99.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=192): time 5.52e-06/0.8022, allocations: 0 / 0.7278 GB, free: 99.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=218): time 0.04797/0.8502, allocations: 20.99 MB / 0.7483 GB, free: 91.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.8503, allocations: 203.2 kB / 0.7485 GB, free: 91.01 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004896/0.8552, allocations: 4.797 MB / 0.7532 GB, free: 89.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002257/0.8554, allocations: 57.08 kB / 0.7532 GB, free: 89.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001474/0.8569, allocations: 3.72 MB / 0.7569 GB, free: 85.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/0.8575, allocations: 0.8403 MB / 0.7577 GB, free: 85.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.8578, allocations: 138.6 kB / 0.7578 GB, free: 85.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002319/0.858, allocations: 0.596 MB / 0.7584 GB, free: 84.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/0.8609, allocations: 2.556 MB / 0.7609 GB, free: 83.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00404/0.8649, allocations: 6.542 MB / 0.7673 GB, free: 74.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008116/0.8731, allocations: 9.776 MB / 0.7768 GB, free: 63.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.505e-05/0.8732, allocations: 40 kB / 0.7769 GB, free: 62.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0144/0.8876, allocations: 10.22 MB / 0.7868 GB, free: 52.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.812e-05/0.8877, allocations: 64 kB / 0.7869 GB, free: 52.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.486e-05/0.8878, allocations: 140 kB / 0.787 GB, free: 52.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003607/0.8914, allocations: 1.616 MB / 0.7886 GB, free: 50.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00418/0.8956, allocations: 1.567 MB / 0.7902 GB, free: 49.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00953/0.9051, allocations: 9.553 MB / 0.7995 GB, free: 39.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004496/0.9096, allocations: 391.4 kB / 0.7999 GB, free: 39.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008221/0.9105, allocations: 404 kB / 0.8002 GB, free: 38.77 MB / 490.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.004054/0.9145, allocations: 2.572 MB / 0.8028 GB, free: 36.19 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009046/0.9155, allocations: 418.6 kB / 0.8032 GB, free: 35.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007812/0.9233, allocations: 4.64 MB / 0.8077 GB, free: 31.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/0.9233, allocations: 24 kB / 0.8077 GB, free: 31.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.9233, allocations: 11.98 kB / 0.8077 GB, free: 31.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/0.9234, allocations: 15.91 kB / 0.8077 GB, free: 31.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.9407, allocations: 10.48 MB / 0.818 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.9407, allocations: 0.75 kB / 0.818 GB, free: 20.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/0.9423, allocations: 355.5 kB / 0.8183 GB, free: 20.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00352/0.9458, allocations: 1.356 MB / 0.8196 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/0.946, allocations: 36 kB / 0.8197 GB, free: 18.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009003/0.9551, allocations: 8.739 MB / 0.8282 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9551, allocations: 0 / 0.8282 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.9652, allocations: 7.559 MB / 0.8356 GB, free: 2.211 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/0.967, allocations: 0.7884 MB / 0.8364 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009445/0.968, allocations: 33.59 kB / 0.8364 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/0.97, allocations: 146.9 kB / 0.8365 GB, free: 1.227 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003494/0.9704, allocations: 133.7 kB / 0.8367 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.9705, allocations: 63.98 kB / 0.8367 GB, free: 1.031 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005086/0.9756, allocations: 3.017 MB / 0.8397 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9756, allocations: 0 / 0.8397 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005507/0.9811, allocations: 1.26 MB / 0.8409 GB, free: 12.76 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 (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.0005012/0.9816, allocations: 175.3 kB / 0.8411 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009962/0.9916, allocations: 6.354 MB / 0.8473 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.9917, allocations: 0 / 0.8473 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003384/0.995, allocations: 2.2 MB / 0.8494 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003853/0.9989, allocations: 0.5201 MB / 0.8499 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/1.021, allocations: 14.36 MB / 0.8639 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005349/1.026, allocations: 3.967 MB / 0.8678 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.028, allocations: 335.4 kB / 0.8681 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/1.028, allocations: 0 / 0.8681 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of Templates: time 0.3014/1.329, allocations: 117.3 MB / 0.9827 GB, free: 78.52 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches