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.001227/0.001227, allocations: 112.4 kB / 17.08 MB, free: 5.988 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.001357/0.001357, allocations: 193.2 kB / 18.01 MB, free: 5.066 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.207/1.207, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.183/0.183, allocations: 43.52 MB / 314.8 MB, free: 448 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.001333/0.001333, allocations: 65.47 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08818, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01325/0.1015, allocations: 13.82 MB / 0.502 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00792/0.1094, allocations: 4.377 MB / 0.5063 GB, free: 9.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.1113, allocations: 79.81 kB / 0.5064 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006258/0.1176, allocations: 3.738 MB / 0.51 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004879/0.1225, allocations: 2.112 MB / 0.5121 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.1244, allocations: 0.8032 MB / 0.5129 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005372/0.1298, allocations: 4.42 MB / 0.5172 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00501/0.1348, allocations: 4.93 MB / 0.522 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002891/0.1377, allocations: 1.931 MB / 0.5239 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.1411, allocations: 2.609 MB / 0.5265 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.1422, allocations: 440 kB / 0.5269 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.1443, allocations: 1.159 MB / 0.528 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001992/0.1463, allocations: 2.346 MB / 0.5303 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1964/0.3427, allocations: 2.758 MB / 0.533 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009665/0.3525, allocations: 8.616 MB / 0.5414 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3525, allocations: 1.219 kB / 0.5414 GB, free: 10.61 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3525, allocations: 5.281 kB / 0.5414 GB, free: 10.61 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002868/0.3528, allocations: 0 / 0.5414 GB, free: 10.61 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.02232/0.3751, allocations: 6.449 MB / 0.5477 GB, free: 8.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3752, allocations: 9.438 kB / 0.5477 GB, free: 8.344 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007095/0.3823, allocations: 1.988 MB / 0.5497 GB, free: 8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005949/0.3883, allocations: 2.824 MB / 0.5524 GB, free: 7.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.3885, allocations: 311 kB / 0.5527 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001461/0.39, allocations: 414.8 kB / 0.5531 GB, free: 7.328 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/0.4124, allocations: 12.89 MB / 0.5657 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001504/0.4125, allocations: 53.2 kB / 0.5657 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007526/0.4133, allocations: 188.9 kB / 0.5659 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003462/0.4168, allocations: 2.363 MB / 0.5682 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/0.4383, allocations: 11.81 MB / 0.5798 GB, free: 9.473 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05976/0.4981, allocations: 47.91 MB / 0.6266 GB, free: 9.094 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/0.515, allocations: 5.702 MB / 0.6321 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004481/0.5195, allocations: 3.606 MB / 0.6356 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001/0.5205, allocations: 0.7112 MB / 0.6363 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/0.5206, allocations: 66.81 kB / 0.6364 GB, free: 14.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 4.568e-06/0.5206, allocations: 0 / 0.6364 GB, free: 14.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.07443/0.595, allocations: 28.48 MB / 0.6642 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.5952, allocations: 157.5 kB / 0.6644 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006377/0.6015, allocations: 4.524 MB / 0.6688 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006935/0.6023, allocations: 64.83 kB / 0.6688 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002439/0.6047, allocations: 3.535 MB / 0.6723 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001362/0.6061, allocations: 0.9615 MB / 0.6732 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/0.6084, allocations: 1.469 MB / 0.6747 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.6085, allocations: 305.1 kB / 0.675 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004841/0.6133, allocations: 3.453 MB / 0.6783 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00751/0.6208, allocations: 7.39 MB / 0.6855 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/0.6346, allocations: 11.66 MB / 0.6969 GB, free: 13.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.973e-05/0.6347, allocations: 43.47 kB / 0.697 GB, free: 13.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02163/0.6563, allocations: 11.78 MB / 0.7085 GB, free: 1.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/0.6565, allocations: 64 kB / 0.7085 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/0.6566, allocations: 136 kB / 0.7087 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.6593, allocations: 1.125 MB / 0.7098 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006407/0.6658, allocations: 1.782 MB / 0.7115 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007748/0.6735, allocations: 6.363 MB / 0.7177 GB, free: 8.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005436/0.679, allocations: 411.6 kB / 0.7181 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001016/0.68, allocations: 455.8 kB / 0.7186 GB, free: 7.445 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.004751/0.6848, allocations: 2.431 MB / 0.7209 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008924/0.6857, allocations: 417.5 kB / 0.7213 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/0.6958, allocations: 6.556 MB / 0.7277 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.463e-05/0.6959, allocations: 24 kB / 0.7278 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.6959, allocations: 8 kB / 0.7278 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/0.696, allocations: 15.95 kB / 0.7278 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02176/0.7177, allocations: 13.64 MB / 0.7411 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.7178, allocations: 7.938 kB / 0.7411 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002916/0.7207, allocations: 0.5928 MB / 0.7417 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/0.7231, allocations: 0.9526 MB / 0.7426 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003491/0.7234, allocations: 91.89 kB / 0.7427 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006943/0.7304, allocations: 6.092 MB / 0.7486 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.7304, allocations: 4 kB / 0.7487 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2149/0.9453, allocations: 11.06 MB / 0.7595 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/0.9478, allocations: 0.9369 MB / 0.7604 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009957/0.9488, allocations: 46.39 kB / 0.7604 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/0.9513, allocations: 183 kB / 0.7606 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004895/0.9518, allocations: 198 kB / 0.7608 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002712/0.952, allocations: 113.7 kB / 0.7609 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004769/0.9568, allocations: 2.842 MB / 0.7637 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.72e-07/0.9568, allocations: 0.5 kB / 0.7637 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006679/0.9635, allocations: 1.268 MB / 0.7649 GB, free: 207.6 MB / 0.5919 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.0006258/0.9642, allocations: 182.5 kB / 0.7651 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01111/0.9753, allocations: 8.159 MB / 0.773 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.9753, allocations: 0 / 0.773 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003914/0.9793, allocations: 3.205 MB / 0.7762 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.9825, allocations: 0.5159 MB / 0.7767 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/1, allocations: 13.02 MB / 0.7894 GB, free: 198.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003613/1.004, allocations: 3.803 MB / 0.7931 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/1.006, allocations: 484.5 kB / 0.7936 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/1.006, allocations: 0 / 0.7936 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1/1.106, allocations: 99.58 MB / 0.8908 GB, free: 98.03 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