Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001366/0.001366, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 241.8 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2198/0.2198, allocations: 44.17 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.56 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1191, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3433/0.4625, allocations: 69.57 MB / 0.5255 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03574/0.4983, allocations: 13.94 MB / 0.5391 GB, free: 4.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01913/0.5175, allocations: 305.2 kB / 0.5394 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008024/0.5256, allocations: 4.22 MB / 0.5435 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007142/0.5328, allocations: 2.044 MB / 0.5455 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.5351, allocations: 0.8524 MB / 0.5463 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01108/0.5462, allocations: 8.792 MB / 0.5549 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00983/0.556, allocations: 5.106 MB / 0.5599 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006409/0.5625, allocations: 1.888 MB / 0.5617 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006275/0.5688, allocations: 3.01 MB / 0.5647 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001716/0.5705, allocations: 332 kB / 0.565 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/0.5748, allocations: 1.279 MB / 0.5663 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004702/0.5796, allocations: 2.439 MB / 0.5686 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006134/0.5857, allocations: 2.753 MB / 0.5713 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.5984, allocations: 8.832 MB / 0.58 GB, free: 2.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.5984, allocations: 0 / 0.58 GB, free: 2.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5985, allocations: 4 kB / 0.58 GB, free: 2.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005606/0.599, allocations: 4 kB / 0.58 GB, free: 2.562 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01826/0.6173, allocations: 6.13 MB / 0.5859 GB, free: 12.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.6174, allocations: 8.031 kB / 0.586 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/0.6297, allocations: 2.583 MB / 0.5885 GB, free: 9.758 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01024/0.64, allocations: 3.801 MB / 0.5922 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.6404, allocations: 300.2 kB / 0.5925 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001943/0.6423, allocations: 432 kB / 0.5929 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/0.6674, allocations: 11.73 MB / 0.6043 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002272/0.6676, allocations: 59.48 kB / 0.6044 GB, free: 8.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007875/0.6684, allocations: 191.9 kB / 0.6046 GB, free: 8.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00362/0.6721, allocations: 2.089 MB / 0.6066 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.022/0.6941, allocations: 10.09 MB / 0.6165 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06475/0.7589, allocations: 45.97 MB / 0.6614 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.7702, allocations: 4.372 MB / 0.6656 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003639/0.7739, allocations: 2.467 MB / 0.6681 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0165/0.7904, allocations: 9.863 MB / 0.6777 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.7905, allocations: 51.5 kB / 0.6777 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=171): time 5.75e-06/0.7905, allocations: 0 / 0.6777 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=197): time 0.05675/0.8473, allocations: 19.95 MB / 0.6972 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.8474, allocations: 205.2 kB / 0.6974 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007481/0.8549, allocations: 4.717 MB / 0.702 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004221/0.8554, allocations: 49.7 kB / 0.7021 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.2533/1.109, allocations: 3.59 MB / 0.7056 GB, free: 191.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.11, allocations: 0.7653 MB / 0.7063 GB, free: 191.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002651/1.113, allocations: 1.341 MB / 0.7076 GB, free: 191.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/1.113, allocations: 306.8 kB / 0.7079 GB, free: 190.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003952/1.117, allocations: 2.413 MB / 0.7103 GB, free: 190.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005508/1.122, allocations: 6.27 MB / 0.7164 GB, free: 184.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/1.134, allocations: 9.327 MB / 0.7255 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002039/1.134, allocations: 37.78 kB / 0.7255 GB, free: 176.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01892/1.153, allocations: 9.797 MB / 0.7351 GB, free: 173 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/1.153, allocations: 64.03 kB / 0.7352 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/1.153, allocations: 137.4 kB / 0.7353 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/1.157, allocations: 1.611 MB / 0.7369 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004355/1.162, allocations: 1.481 MB / 0.7383 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/1.173, allocations: 9.547 MB / 0.7477 GB, free: 165.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005148/1.178, allocations: 365.5 kB / 0.748 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.179, allocations: 391.8 kB / 0.7484 GB, free: 165.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (796): * Single equations (assignments): 791 * 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.004945/1.184, allocations: 2.48 MB / 0.7508 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008924/1.185, allocations: 406.7 kB / 0.7512 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007206/1.192, allocations: 4.243 MB / 0.7553 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.08e-05/1.192, allocations: 22.91 kB / 0.7553 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/1.193, allocations: 8 kB / 0.7554 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/1.193, allocations: 7.969 kB / 0.7554 GB, free: 158.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.208, allocations: 9.77 MB / 0.7649 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.208, allocations: 0 / 0.7649 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.209, allocations: 295.6 kB / 0.7652 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00349/1.213, allocations: 1.365 MB / 0.7665 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001724/1.213, allocations: 38.61 kB / 0.7666 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009056/1.222, allocations: 8.734 MB / 0.7751 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.222, allocations: 0 / 0.7751 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009753/1.232, allocations: 6.976 MB / 0.7819 GB, free: 131.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.233, allocations: 456.8 kB / 0.7823 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.234, allocations: 35.94 kB / 0.7824 GB, free: 130.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/1.237, allocations: 115.8 kB / 0.7825 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004376/1.237, allocations: 117.1 kB / 0.7826 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/1.237, allocations: 55.98 kB / 0.7826 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004151/1.242, allocations: 2.972 MB / 0.7855 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/1.242, allocations: 0 / 0.7855 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00618/1.248, allocations: 1.207 MB / 0.7867 GB, free: 126.1 MB / 0.5294 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 (147): * Single equations (assignments): 142 * 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.0004132/1.248, allocations: 162.6 kB / 0.7869 GB, free: 126 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00797/1.256, allocations: 5.959 MB / 0.7927 GB, free: 120 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.256, allocations: 4 kB / 0.7927 GB, free: 120 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002512/1.259, allocations: 2.012 MB / 0.7947 GB, free: 118 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003604/1.262, allocations: 0.5104 MB / 0.7952 GB, free: 117.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/1.282, allocations: 13.67 MB / 0.8085 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003518/1.285, allocations: 3.864 MB / 0.8123 GB, free: 99.87 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004303/1.29, allocations: 1.992 MB / 0.8142 GB, free: 97.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000723/1.29, allocations: 263.4 kB / 0.8145 GB, free: 97.62 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/1.29, allocations: 0 / 0.8145 GB, free: 97.62 MB / 0.5294 GB Notification: Performance of Templates: time 0.06877/1.359, allocations: 43.8 MB / 0.8573 GB, free: 54.04 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/GearConstraint/GearConstraint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches