Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001218, allocations: 91.97 kB / 16.98 MB, free: 5.938 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.001202/0.001202, allocations: 186.9 kB / 17.88 MB, free: 5.594 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.428/1.428, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2146/0.2146, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003546, allocations: 15.94 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 61.91 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.04482/0.1581, allocations: 42.5 MB / 0.5019 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2808/0.4389, allocations: 10.15 MB / 0.5118 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009408/0.4483, allocations: 207.6 kB / 0.512 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009323/0.4577, allocations: 2.096 MB / 0.5141 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02477/0.4825, allocations: 6.166 MB / 0.5201 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004239/0.4868, allocations: 0.5056 MB / 0.5206 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006032/0.4928, allocations: 2.02 MB / 0.5225 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008495/0.5014, allocations: 4.424 MB / 0.5269 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002721/0.5041, allocations: 0.9512 MB / 0.5278 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002998/0.5072, allocations: 1.275 MB / 0.529 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.5085, allocations: 129.4 kB / 0.5292 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.5115, allocations: 0.7675 MB / 0.5299 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002364/0.5139, allocations: 1.466 MB / 0.5313 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.5156, allocations: 0.7897 MB / 0.5321 GB, free: 7.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007024/0.5226, allocations: 5.237 MB / 0.5372 GB, free: 4.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5226, allocations: 4 kB / 0.5372 GB, free: 4.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5226, allocations: 0 / 0.5372 GB, free: 4.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003287/0.523, allocations: 0 / 0.5372 GB, free: 4.172 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01605/0.539, allocations: 4.377 MB / 0.5415 GB, free: 1.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5391, allocations: 8.812 kB / 0.5415 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007806/0.5469, allocations: 2.196 MB / 0.5437 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006806/0.5538, allocations: 2.308 MB / 0.5459 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003419/0.5541, allocations: 233.2 kB / 0.5461 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.5562, allocations: 305.3 kB / 0.5464 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03041/0.5866, allocations: 10.29 MB / 0.5565 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002331/0.5869, allocations: 50.7 kB / 0.5565 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/0.5888, allocations: 142.4 kB / 0.5567 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004258/0.5931, allocations: 1.86 MB / 0.5585 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0223/0.6154, allocations: 9.26 MB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05815/0.6736, allocations: 37.66 MB / 0.6043 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/0.6866, allocations: 3.758 MB / 0.608 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009792/0.6876, allocations: 0.6728 MB / 0.6086 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.6876, allocations: 51.06 kB / 0.6087 GB, free: 2.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 4.97e-06/0.6876, allocations: 0 / 0.6087 GB, free: 2.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=136): time 0.04322/0.7309, allocations: 13.25 MB / 0.6216 GB, free: 5.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.731, allocations: 141.2 kB / 0.6217 GB, free: 4.902 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00661/0.7377, allocations: 4.085 MB / 0.6257 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004977/0.7382, allocations: 41.7 kB / 0.6258 GB, free: 0.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002324/0.7405, allocations: 3.011 MB / 0.6287 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009626/0.7415, allocations: 0.5539 MB / 0.6293 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.7418, allocations: 108 kB / 0.6294 GB, free: 13.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000335/0.7421, allocations: 0.5375 MB / 0.6299 GB, free: 12.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/0.745, allocations: 1.912 MB / 0.6318 GB, free: 10.68 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006232/0.7513, allocations: 5.474 MB / 0.6371 GB, free: 3.398 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005188/0.7565, allocations: 3.161 MB / 0.6402 GB, free: 240 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.086e-05/0.7566, allocations: 36 kB / 0.6402 GB, free: 204 kB / 478.1 MB Notification: Performance of matching and sorting (n=719) (initialization): time 0.01617/0.7728, allocations: 7.895 MB / 0.6479 GB, free: 8.305 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.773, allocations: 60 kB / 0.648 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001888/0.7732, allocations: 128 kB / 0.6481 GB, free: 8.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.7757, allocations: 0.9253 MB / 0.649 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/0.7802, allocations: 1.287 MB / 0.6503 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006663/0.7868, allocations: 4.964 MB / 0.6551 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005129/0.792, allocations: 303.5 kB / 0.6554 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001343/0.7934, allocations: 356 kB / 0.6557 GB, free: 172 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 676 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00507/0.7985, allocations: 1.999 MB / 0.6577 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007913/0.7993, allocations: 331.8 kB / 0.658 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005276/0.8045, allocations: 2.798 MB / 0.6608 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/0.8046, allocations: 19.36 kB / 0.6608 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.8046, allocations: 7.953 kB / 0.6608 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.8046, allocations: 3.984 kB / 0.6608 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01387/0.8185, allocations: 7.273 MB / 0.6679 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.8186, allocations: 4 kB / 0.6679 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.8197, allocations: 263.7 kB / 0.6681 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002028/0.8218, allocations: 0.7147 MB / 0.6688 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.8219, allocations: 27.98 kB / 0.6689 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005767/0.8277, allocations: 4.527 MB / 0.6733 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8277, allocations: 3.953 kB / 0.6733 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007779/0.8355, allocations: 5.293 MB / 0.6785 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.8368, allocations: 397.8 kB / 0.6788 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/0.8371, allocations: 24 kB / 0.6789 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.8384, allocations: 87.89 kB / 0.6789 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.8386, allocations: 96.5 kB / 0.679 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.8388, allocations: 51.02 kB / 0.6791 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003898/0.8427, allocations: 2.563 MB / 0.6816 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.8427, allocations: 0 / 0.6816 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004671/0.8473, allocations: 0.9219 MB / 0.6825 GB, free: 4.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004556/0.8478, allocations: 167.2 kB / 0.6826 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008384/0.8562, allocations: 4.598 MB / 0.6871 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.8563, allocations: 0 / 0.6871 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.8584, allocations: 1.37 MB / 0.6885 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.8611, allocations: 382.2 kB / 0.6888 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/0.88, allocations: 9.954 MB / 0.6986 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003632/0.8837, allocations: 3.191 MB / 0.7017 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.2625/1.146, allocations: 1.797 MB / 0.7034 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/1.147, allocations: 249.5 kB / 0.7037 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/1.147, allocations: 3.531 kB / 0.7037 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.0769/1.224, allocations: 33.52 MB / 0.7364 GB, free: 171.8 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches