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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001219/0.001219, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.1 MB / 222.5 MB, free: 8.477 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009237/0.0009238, allocations: 103.3 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2817/0.2817, allocations: 43.5 MB / 360.7 MB, free: 51.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 51.91 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1089, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.234/0.3429, allocations: 66.26 MB / 0.5403 GB, free: 22.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02411/0.3671, allocations: 13.05 MB / 0.5531 GB, free: 14.06 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01128/0.3784, allocations: 280.3 kB / 0.5533 GB, free: 14.02 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005863/0.3843, allocations: 3.739 MB / 0.557 GB, free: 12.28 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004675/0.389, allocations: 1.965 MB / 0.5589 GB, free: 11.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.3907, allocations: 0.7477 MB / 0.5596 GB, free: 11.05 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006515/0.3972, allocations: 6.537 MB / 0.566 GB, free: 9.07 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005918/0.4032, allocations: 4.901 MB / 0.5708 GB, free: 7.266 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002986/0.4062, allocations: 1.728 MB / 0.5725 GB, free: 6.566 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003922/0.4101, allocations: 2.763 MB / 0.5752 GB, free: 5.582 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009606/0.4111, allocations: 320.9 kB / 0.5755 GB, free: 5.582 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/0.4136, allocations: 1.099 MB / 0.5766 GB, free: 5.348 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00199/0.4156, allocations: 2.25 MB / 0.5788 GB, free: 4.559 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00251/0.4181, allocations: 2.665 MB / 0.5814 GB, free: 2.582 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008118/0.4263, allocations: 8.247 MB / 0.5894 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4263, allocations: 0 / 0.5894 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4263, allocations: 0 / 0.5894 GB, free: 12.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003106/0.4266, allocations: 0 / 0.5894 GB, free: 12.59 MB / 410.7 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.02041/0.447, allocations: 6.447 MB / 0.5957 GB, free: 6.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4471, allocations: 8.031 kB / 0.5957 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006961/0.4541, allocations: 1.99 MB / 0.5977 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006209/0.4603, allocations: 2.776 MB / 0.6004 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.4606, allocations: 299.9 kB / 0.6007 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.4616, allocations: 411.7 kB / 0.601 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02292/0.4845, allocations: 12.9 MB / 0.6136 GB, free: 2.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/0.4847, allocations: 43.59 kB / 0.6137 GB, free: 2.844 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004999/0.4852, allocations: 191.8 kB / 0.6139 GB, free: 2.656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004095/0.4893, allocations: 2.367 MB / 0.6162 GB, free: 296 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02314/0.5124, allocations: 11.81 MB / 0.6277 GB, free: 4.461 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06099/0.5735, allocations: 48.14 MB / 0.6747 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/0.591, allocations: 5.704 MB / 0.6803 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004716/0.5958, allocations: 3.613 MB / 0.6838 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/0.5969, allocations: 0.6988 MB / 0.6845 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.963e-05/0.597, allocations: 51.88 kB / 0.6846 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=224): time 5.38e-06/0.597, allocations: 0 / 0.6846 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of matching and sorting (n=255): time 0.2682/0.8652, allocations: 28.47 MB / 0.7124 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.8653, allocations: 161.9 kB / 0.7125 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/0.87, allocations: 4.522 MB / 0.7169 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003398/0.8703, allocations: 65.73 kB / 0.717 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/0.8717, allocations: 3.54 MB / 0.7205 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000708/0.8724, allocations: 0.9586 MB / 0.7214 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/0.874, allocations: 1.474 MB / 0.7228 GB, free: 141.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.874, allocations: 301.1 kB / 0.7231 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003765/0.8778, allocations: 3.449 MB / 0.7265 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005679/0.8835, allocations: 7.391 MB / 0.7337 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01263/0.8961, allocations: 11.68 MB / 0.7451 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001629/0.8963, allocations: 39.44 kB / 0.7451 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01963/0.916, allocations: 11.78 MB / 0.7566 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.066e-05/0.9161, allocations: 66.84 kB / 0.7567 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/0.9162, allocations: 139.3 kB / 0.7568 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.9186, allocations: 1.128 MB / 0.7579 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005563/0.9242, allocations: 1.782 MB / 0.7597 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006223/0.9305, allocations: 6.017 MB / 0.7656 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/0.9358, allocations: 429.8 kB / 0.766 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006403/0.9365, allocations: 454.5 kB / 0.7664 GB, free: 115.9 MB / 0.4948 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.003037/0.9395, allocations: 2.414 MB / 0.7688 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/0.9402, allocations: 417.4 kB / 0.7692 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008919/0.9491, allocations: 6.563 MB / 0.7756 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/0.9492, allocations: 24 kB / 0.7756 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.9492, allocations: 4 kB / 0.7756 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.9492, allocations: 15.67 kB / 0.7756 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01876/0.968, allocations: 13.77 MB / 0.7891 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.968, allocations: 4 kB / 0.7891 GB, free: 94.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00276/0.9708, allocations: 0.597 MB / 0.7896 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/0.973, allocations: 0.948 MB / 0.7906 GB, free: 92.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003033/0.9733, allocations: 87.89 kB / 0.7907 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005701/0.979, allocations: 5.732 MB / 0.7963 GB, free: 86.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.9791, allocations: 11.06 kB / 0.7963 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06759/1.047, allocations: 51.3 MB / 0.8464 GB, free: 35.17 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/1.049, allocations: 0.9329 MB / 0.8473 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/1.049, allocations: 48 kB / 0.8473 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.051, allocations: 175.8 kB / 0.8475 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004823/1.052, allocations: 201.6 kB / 0.8477 GB, free: 33.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.052, allocations: 111.9 kB / 0.8478 GB, free: 33.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003193/1.055, allocations: 2.839 MB / 0.8506 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/1.055, allocations: 0 / 0.8506 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007898/1.063, allocations: 1.643 MB / 0.8522 GB, free: 29.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0006879/1.064, allocations: 202.1 kB / 0.8523 GB, free: 29.01 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01087/1.075, allocations: 8.115 MB / 0.8603 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.075, allocations: 0 / 0.8603 GB, free: 20.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003921/1.079, allocations: 3.211 MB / 0.8634 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/1.082, allocations: 492 kB / 0.8639 GB, free: 17.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2138/1.296, allocations: 16.88 MB / 0.8804 GB, free: 139 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006229/1.302, allocations: 3.891 MB / 0.8842 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006859/1.309, allocations: 2.416 MB / 0.8865 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001863/1.311, allocations: 437.8 kB / 0.8869 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/1.311, allocations: 0 / 0.8869 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.1132/1.424, allocations: 68.51 MB / 0.9538 GB, free: 106.7 MB / 0.4948 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches