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.00116/0.00116, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.00105/0.00105, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2244/0.2244, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 63.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3859, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01358/0.3995, allocations: 13.63 MB / 0.5322 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.4099, allocations: 4.537 MB / 0.5366 GB, free: 6.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.4128, allocations: 95 kB / 0.5367 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008054/0.4209, allocations: 4.197 MB / 0.5408 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005869/0.4268, allocations: 2.179 MB / 0.543 GB, free: 1.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.4304, allocations: 0.9335 MB / 0.5439 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01409/0.4445, allocations: 6.078 MB / 0.5498 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/0.4559, allocations: 5.213 MB / 0.5549 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008552/0.4645, allocations: 2.142 MB / 0.557 GB, free: 4.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007407/0.4719, allocations: 2.82 MB / 0.5597 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002213/0.4742, allocations: 476 kB / 0.5602 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005455/0.4797, allocations: 1.362 MB / 0.5615 GB, free: 268 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004908/0.4846, allocations: 2.537 MB / 0.564 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00582/0.4905, allocations: 2.875 MB / 0.5668 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01517/0.5057, allocations: 9.219 MB / 0.5758 GB, free: 1.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5057, allocations: 4 kB / 0.5758 GB, free: 1.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5057, allocations: 0 / 0.5758 GB, free: 1.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003941/0.5061, allocations: 0 / 0.5758 GB, free: 1.57 MB / 430.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.0177/0.5238, allocations: 6.297 MB / 0.582 GB, free: 11.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5239, allocations: 12.03 kB / 0.582 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.5355, allocations: 2.61 MB / 0.5845 GB, free: 8.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009683/0.5452, allocations: 3.888 MB / 0.5883 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/0.5456, allocations: 304.2 kB / 0.5886 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/0.5477, allocations: 439.8 kB / 0.589 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02632/0.574, allocations: 11.73 MB / 0.6005 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.5742, allocations: 55.52 kB / 0.6005 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005559/0.5748, allocations: 195.8 kB / 0.6007 GB, free: 7.172 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003613/0.5784, allocations: 2.085 MB / 0.6028 GB, free: 5.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/0.6003, allocations: 10.1 MB / 0.6126 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05925/0.6596, allocations: 45.84 MB / 0.6574 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.6707, allocations: 4.365 MB / 0.6617 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003319/0.674, allocations: 2.467 MB / 0.6641 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/0.6898, allocations: 9.869 MB / 0.6737 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.6899, allocations: 51.5 kB / 0.6738 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=171): time 4.609e-06/0.6899, allocations: 0 / 0.6738 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=197): time 0.05569/0.7456, allocations: 20.24 MB / 0.6935 GB, free: 6.328 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.7458, allocations: 205.2 kB / 0.6937 GB, free: 6.082 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006716/0.7525, allocations: 4.718 MB / 0.6983 GB, free: 1.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0005023/0.7531, allocations: 57.7 kB / 0.6984 GB, free: 1.293 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002915/0.756, allocations: 3.743 MB / 0.702 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/0.757, allocations: 0.7908 MB / 0.7028 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001783/0.7588, allocations: 1.345 MB / 0.7041 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.7589, allocations: 313 kB / 0.7044 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003488/0.7624, allocations: 2.406 MB / 0.7068 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006513/0.7689, allocations: 6.271 MB / 0.7129 GB, free: 472 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3216/1.091, allocations: 9.32 MB / 0.722 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001281/1.091, allocations: 38.73 kB / 0.722 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02122/1.112, allocations: 9.816 MB / 0.7316 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.112, allocations: 65.5 kB / 0.7317 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002303/1.112, allocations: 136.2 kB / 0.7318 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004246/1.117, allocations: 1.619 MB / 0.7334 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004398/1.121, allocations: 1.486 MB / 0.7348 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/1.132, allocations: 10.28 MB / 0.7449 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/1.137, allocations: 361.1 kB / 0.7452 GB, free: 147 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006516/1.137, allocations: 391.6 kB / 0.7456 GB, free: 146.9 MB / 0.5606 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.003633/1.141, allocations: 2.497 MB / 0.748 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000666/1.142, allocations: 428.8 kB / 0.7484 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007244/1.149, allocations: 4.232 MB / 0.7526 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/1.149, allocations: 24 kB / 0.7526 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.149, allocations: 8 kB / 0.7526 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.149, allocations: 11.97 kB / 0.7526 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/1.162, allocations: 9.72 MB / 0.7621 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.162, allocations: 0 / 0.7621 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.164, allocations: 303.3 kB / 0.7624 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/1.167, allocations: 1.358 MB / 0.7637 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/1.167, allocations: 43.66 kB / 0.7638 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009402/1.177, allocations: 9.396 MB / 0.7729 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.177, allocations: 4 kB / 0.7729 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009396/1.186, allocations: 6.992 MB / 0.7798 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001819/1.188, allocations: 479.1 kB / 0.7802 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000935/1.189, allocations: 36 kB / 0.7803 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001741/1.191, allocations: 111.8 kB / 0.7804 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/1.191, allocations: 129 kB / 0.7805 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.191, allocations: 52 kB / 0.7805 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004419/1.196, allocations: 2.964 MB / 0.7834 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/1.196, allocations: 4 kB / 0.7834 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005397/1.201, allocations: 1.207 MB / 0.7846 GB, free: 110.1 MB / 0.5606 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.0004129/1.202, allocations: 165.2 kB / 0.7848 GB, free: 109.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007851/1.21, allocations: 5.987 MB / 0.7906 GB, free: 104 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.21, allocations: 2.625 kB / 0.7906 GB, free: 104 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00265/1.212, allocations: 2.004 MB / 0.7926 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/1.216, allocations: 0.5477 MB / 0.7931 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/1.233, allocations: 11.29 MB / 0.8041 GB, free: 90.08 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004098/1.237, allocations: 3.86 MB / 0.8079 GB, free: 86.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003996/1.241, allocations: 1.992 MB / 0.8099 GB, free: 84.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006431/1.242, allocations: 267.4 kB / 0.8101 GB, free: 83.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.242, allocations: 0 / 0.8101 GB, free: 83.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.07181/1.313, allocations: 42.12 MB / 0.8513 GB, free: 42.07 MB / 0.5606 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