Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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 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 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 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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 109.4 kB / 17.09 MB, free: 5.965 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.00119/0.00119, allocations: 195.5 kB / 18.02 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2025/0.2025, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 73.45 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1066, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01516/0.1218, allocations: 13.81 MB / 0.502 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008742/0.1306, allocations: 4.369 MB / 0.5063 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.1327, allocations: 87.75 kB / 0.5064 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006864/0.1396, allocations: 3.742 MB / 0.5101 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005482/0.1451, allocations: 2.167 MB / 0.5122 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.1473, allocations: 0.811 MB / 0.513 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006119/0.1534, allocations: 4.416 MB / 0.5173 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006518/0.16, allocations: 4.93 MB / 0.5221 GB, free: 9.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.1635, allocations: 1.931 MB / 0.524 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.1674, allocations: 2.605 MB / 0.5265 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.1687, allocations: 436 kB / 0.5269 GB, free: 4.289 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.1714, allocations: 1.159 MB / 0.5281 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002574/0.174, allocations: 2.35 MB / 0.5304 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2039/0.3779, allocations: 2.761 MB / 0.5331 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.388, allocations: 8.613 MB / 0.5415 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3881, allocations: 0.6562 kB / 0.5415 GB, free: 10.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3881, allocations: 1 kB / 0.5415 GB, free: 10.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002727/0.3884, allocations: 0 / 0.5415 GB, free: 10.46 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02497/0.4133, allocations: 6.455 MB / 0.5478 GB, free: 8.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.4134, allocations: 9.25 kB / 0.5478 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007847/0.4213, allocations: 1.983 MB / 0.5497 GB, free: 7.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006068/0.4273, allocations: 2.823 MB / 0.5525 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.4276, allocations: 306.9 kB / 0.5528 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009825/0.4286, allocations: 415.5 kB / 0.5532 GB, free: 7.188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.4513, allocations: 12.89 MB / 0.5658 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.4514, allocations: 47.2 kB / 0.5658 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005583/0.452, allocations: 190.9 kB / 0.566 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003832/0.4558, allocations: 2.367 MB / 0.5683 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/0.4791, allocations: 11.81 MB / 0.5798 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06817/0.5473, allocations: 47.91 MB / 0.6266 GB, free: 9.035 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01931/0.5666, allocations: 5.701 MB / 0.6322 GB, free: 3.199 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005069/0.5717, allocations: 3.615 MB / 0.6357 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.5729, allocations: 0.7066 MB / 0.6364 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.222e-05/0.573, allocations: 55.81 kB / 0.6365 GB, free: 14.71 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 6.392e-06/0.5731, allocations: 0 / 0.6365 GB, free: 14.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.08476/0.6578, allocations: 28.49 MB / 0.6643 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.6579, allocations: 150.5 kB / 0.6644 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/0.6685, allocations: 4.523 MB / 0.6688 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009454/0.6694, allocations: 61.7 kB / 0.6689 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003445/0.6729, allocations: 3.541 MB / 0.6724 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001953/0.6749, allocations: 0.9547 MB / 0.6733 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004009/0.6789, allocations: 1.47 MB / 0.6747 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.679, allocations: 305.1 kB / 0.675 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005584/0.6846, allocations: 3.452 MB / 0.6784 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00851/0.6931, allocations: 7.392 MB / 0.6856 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/0.7077, allocations: 11.67 MB / 0.697 GB, free: 13.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/0.7078, allocations: 36 kB / 0.697 GB, free: 13.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02319/0.731, allocations: 11.78 MB / 0.7085 GB, free: 1.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.7311, allocations: 66.34 kB / 0.7086 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000232/0.7314, allocations: 140.2 kB / 0.7087 GB, free: 1.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/0.7344, allocations: 1.122 MB / 0.7098 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007801/0.7422, allocations: 1.778 MB / 0.7116 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009204/0.7515, allocations: 6.366 MB / 0.7178 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006512/0.758, allocations: 411.6 kB / 0.7182 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002026/0.76, allocations: 459.8 kB / 0.7186 GB, free: 7.418 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006802/0.7669, allocations: 2.436 MB / 0.721 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/0.7682, allocations: 414.6 kB / 0.7214 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/0.781, allocations: 6.555 MB / 0.7278 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.864e-05/0.7811, allocations: 15.89 kB / 0.7278 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.7811, allocations: 0 / 0.7278 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/0.7839, allocations: 0.9367 MB / 0.7287 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/0.7851, allocations: 42.28 kB / 0.7288 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/0.7881, allocations: 183.8 kB / 0.7289 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006206/0.7887, allocations: 193.7 kB / 0.7291 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01355/0.8023, allocations: 6.991 MB / 0.736 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01391/0.8162, allocations: 10.09 MB / 0.7458 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003773/0.82, allocations: 2.752 MB / 0.7485 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006038/0.8261, allocations: 2.843 MB / 0.7513 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of Backend: time 6.91e-07/0.8261, allocations: 0 / 0.7513 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01508/0.8412, allocations: 5.874 MB / 0.757 GB, free: 40 kB / 0.5919 GB Notification: Performance of SimCode: time 0.2434/1.085, allocations: 10.93 MB / 0.7677 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1125/1.197, allocations: 68.98 MB / 0.8351 GB, free: 160 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches