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.001161/0.001161, allocations: 114.4 kB / 17.78 MB, free: 5.289 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.001147/0.001147, allocations: 187 kB / 18.71 MB, free: 4.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.345/1.345, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2008/0.2008, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.89 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3386, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01141/0.3501, allocations: 11.17 MB / 0.5298 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008521/0.3586, allocations: 3.81 MB / 0.5335 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.3604, allocations: 65.41 kB / 0.5336 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004822/0.3653, allocations: 2.708 MB / 0.5362 GB, free: 6.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006245/0.3716, allocations: 1.799 MB / 0.538 GB, free: 5.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.3734, allocations: 0.6852 MB / 0.5387 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005078/0.3785, allocations: 3.588 MB / 0.5422 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004202/0.3827, allocations: 3.72 MB / 0.5458 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.3853, allocations: 1.487 MB / 0.5473 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002832/0.3882, allocations: 2.005 MB / 0.5492 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007169/0.3889, allocations: 328 kB / 0.5495 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.3908, allocations: 1.069 MB / 0.5506 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.3924, allocations: 1.855 MB / 0.5524 GB, free: 9.617 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0019/0.3943, allocations: 2.136 MB / 0.5545 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006621/0.401, allocations: 6.822 MB / 0.5611 GB, free: 0.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.401, allocations: 3.938 kB / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.401, allocations: 0 / 0.5611 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001568/0.4012, allocations: 4 kB / 0.5611 GB, free: 0.6172 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01645/0.4176, allocations: 5.137 MB / 0.5662 GB, free: 11.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.4177, allocations: 12.03 kB / 0.5662 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006045/0.4237, allocations: 1.848 MB / 0.568 GB, free: 9.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004875/0.4286, allocations: 2.287 MB / 0.5702 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.4288, allocations: 229.8 kB / 0.5704 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007972/0.4296, allocations: 303.8 kB / 0.5707 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01741/0.447, allocations: 10.23 MB / 0.5807 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/0.4472, allocations: 39.59 kB / 0.5807 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004341/0.4476, allocations: 143.9 kB / 0.5809 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003056/0.4507, allocations: 1.864 MB / 0.5827 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.4688, allocations: 9.191 MB / 0.5917 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04222/0.5111, allocations: 37.48 MB / 0.6283 GB, free: 9.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/0.5245, allocations: 3.729 MB / 0.6319 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002286/0.5269, allocations: 1.714 MB / 0.6336 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009459/0.5278, allocations: 0.6786 MB / 0.6342 GB, free: 3.586 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.5279, allocations: 47.11 kB / 0.6343 GB, free: 3.531 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.739e-06/0.5279, allocations: 0 / 0.6343 GB, free: 3.531 MB / 494.1 MB Notification: Performance of matching and sorting (n=136): time 0.04302/0.5709, allocations: 12.93 MB / 0.6469 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.5711, allocations: 149.3 kB / 0.6471 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005057/0.5761, allocations: 3.975 MB / 0.6509 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002492/0.5764, allocations: 53.62 kB / 0.651 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002115/0.5785, allocations: 3.005 MB / 0.6539 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006693/0.5792, allocations: 0.5441 MB / 0.6545 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/0.5806, allocations: 1.142 MB / 0.6556 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.5808, allocations: 305.1 kB / 0.6559 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002592/0.5834, allocations: 1.939 MB / 0.6578 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005085/0.5885, allocations: 5.52 MB / 0.6632 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008065/0.5966, allocations: 8.088 MB / 0.6711 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.919e-05/0.5967, allocations: 36 kB / 0.6711 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01269/0.6094, allocations: 7.954 MB / 0.6789 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.45e-05/0.6095, allocations: 64.25 kB / 0.6789 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.6096, allocations: 128 kB / 0.679 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/0.6118, allocations: 0.8983 MB / 0.6799 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/0.6151, allocations: 1.29 MB / 0.6812 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006108/0.6213, allocations: 5.186 MB / 0.6862 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003426/0.6247, allocations: 299.6 kB / 0.6865 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00044/0.6252, allocations: 363.9 kB / 0.6869 GB, free: 9.727 MB / 0.545 GB 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 (684): * Single equations (assignments): 680 * 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.002778/0.6279, allocations: 1.99 MB / 0.6888 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005157/0.6285, allocations: 339.6 kB / 0.6891 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004836/0.6333, allocations: 2.782 MB / 0.6919 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.6334, allocations: 16 kB / 0.6919 GB, free: 4.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.6334, allocations: 7.938 kB / 0.6919 GB, free: 4.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.6334, allocations: 3.984 kB / 0.6919 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.6458, allocations: 7.237 MB / 0.6989 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/0.6458, allocations: 3.938 kB / 0.699 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.647, allocations: 247.8 kB / 0.6992 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0021/0.6491, allocations: 0.707 MB / 0.6999 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.6493, allocations: 39.91 kB / 0.6999 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006235/0.6555, allocations: 4.75 MB / 0.7046 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/0.6556, allocations: 3.938 kB / 0.7046 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007564/0.6631, allocations: 5.131 MB / 0.7096 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008025/0.6639, allocations: 392.7 kB / 0.7099 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000323/0.6643, allocations: 16 kB / 0.71 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.6653, allocations: 87.88 kB / 0.71 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.6656, allocations: 92.41 kB / 0.7101 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6657, allocations: 47.97 kB / 0.7102 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003218/0.6689, allocations: 2.493 MB / 0.7126 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6689, allocations: 0 / 0.7126 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00366/0.6726, allocations: 0.8986 MB / 0.7135 GB, free: 14.17 MB / 0.5762 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 (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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003491/0.673, allocations: 155 kB / 0.7136 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006496/0.6795, allocations: 4.616 MB / 0.7181 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6795, allocations: 256 / 0.7181 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.6812, allocations: 1.368 MB / 0.7195 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.6834, allocations: 435 kB / 0.7199 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2728/0.9562, allocations: 8.422 MB / 0.7281 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005285/0.9615, allocations: 3.108 MB / 0.7312 GB, free: 182 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003988/0.9655, allocations: 1.799 MB / 0.7329 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00064/0.9662, allocations: 252.9 kB / 0.7332 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.363e-06/0.9662, allocations: 0.9688 kB / 0.7332 GB, free: 181.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.05925/1.025, allocations: 32 MB / 0.7644 GB, free: 164.5 MB / 0.5762 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches