Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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_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_4.0.0_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_4.0.0_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.001046/0.001046, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.00114/0.001141, allocations: 192 kB / 18.55 MB, free: 4.566 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.297/1.297, allocations: 222.9 MB / 242.2 MB, free: 15.17 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.2021/0.2021, allocations: 44.19 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 57.86 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1041, allocations: 60.83 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01438/0.1186, allocations: 13.14 MB / 482.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008222/0.1268, allocations: 4.279 MB / 486.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.1287, allocations: 79.81 kB / 486.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006808/0.1355, allocations: 3.726 MB / 490.5 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007486/0.1431, allocations: 2.029 MB / 492.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002287/0.1454, allocations: 0.8032 MB / 493.3 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006156/0.1516, allocations: 4.225 MB / 497.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006999/0.1586, allocations: 4.864 MB / 0.4906 GB, free: 13.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.1629, allocations: 1.861 MB / 0.4924 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004299/0.1672, allocations: 2.484 MB / 0.4949 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001511/0.1687, allocations: 416 kB / 0.4953 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003506/0.1723, allocations: 1.155 MB / 0.4964 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003091/0.1754, allocations: 2.24 MB / 0.4986 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004776/0.1802, allocations: 2.637 MB / 0.5012 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2682/0.4484, allocations: 7.971 MB / 0.5089 GB, free: 23.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.4485, allocations: 0 / 0.5089 GB, free: 23.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4485, allocations: 1.281 kB / 0.5089 GB, free: 23.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004926/0.449, allocations: 0 / 0.5089 GB, free: 23.54 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02571/0.4747, allocations: 6.242 MB / 0.515 GB, free: 21.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.4748, allocations: 11.3 kB / 0.5151 GB, free: 21.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008083/0.4829, allocations: 1.96 MB / 0.517 GB, free: 21.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007086/0.49, allocations: 2.658 MB / 0.5196 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.4903, allocations: 303 kB / 0.5199 GB, free: 20.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002558/0.4929, allocations: 396.5 kB / 0.5202 GB, free: 20.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/0.5201, allocations: 12.39 MB / 0.5323 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/0.5203, allocations: 47.89 kB / 0.5324 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005737/0.5208, allocations: 182.1 kB / 0.5326 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003687/0.5245, allocations: 2.255 MB / 0.5348 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02069/0.5452, allocations: 11.36 MB / 0.5458 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07044/0.6157, allocations: 46.51 MB / 0.5913 GB, free: 6.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/0.6343, allocations: 5.479 MB / 0.5966 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004993/0.6394, allocations: 3.438 MB / 0.6 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/0.6405, allocations: 0.6933 MB / 0.6007 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.6406, allocations: 59.25 kB / 0.6007 GB, free: 12.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=203): time 5.18e-06/0.6406, allocations: 0 / 0.6007 GB, free: 12.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=234): time 0.113/0.7536, allocations: 27.33 MB / 0.6274 GB, free: 1 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.7537, allocations: 161.2 kB / 0.6276 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01036/0.7641, allocations: 4.42 MB / 0.6319 GB, free: 12.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001095/0.7653, allocations: 57.7 kB / 0.6319 GB, free: 12.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003443/0.7687, allocations: 3.432 MB / 0.6353 GB, free: 8.898 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001854/0.7706, allocations: 0.881 MB / 0.6361 GB, free: 8.027 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004445/0.7751, allocations: 1.419 MB / 0.6375 GB, free: 6.598 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.421e-05/0.7752, allocations: 301.1 kB / 0.6378 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005128/0.7803, allocations: 3.277 MB / 0.641 GB, free: 3.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007537/0.7879, allocations: 7.119 MB / 0.648 GB, free: 10.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/0.8016, allocations: 11.2 MB / 0.6589 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/0.8018, allocations: 40 kB / 0.6589 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02334/0.8251, allocations: 11.31 MB / 0.67 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.8253, allocations: 63.94 kB / 0.67 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002299/0.8256, allocations: 136 kB / 0.6702 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003108/0.8287, allocations: 1.128 MB / 0.6713 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008531/0.8372, allocations: 1.692 MB / 0.6729 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009477/0.8467, allocations: 6.356 MB / 0.6791 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006919/0.8537, allocations: 399.6 kB / 0.6795 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/0.8555, allocations: 443.8 kB / 0.6799 GB, free: 8.324 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (819): * Single equations (assignments): 815 * 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.006713/0.8623, allocations: 2.337 MB / 0.6822 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/0.8639, allocations: 398.8 kB / 0.6826 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/0.8747, allocations: 6.184 MB / 0.6886 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.298e-05/0.8748, allocations: 24 kB / 0.6887 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.8748, allocations: 4 kB / 0.6887 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/0.8749, allocations: 15.95 kB / 0.6887 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/0.8987, allocations: 13.08 MB / 0.7015 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.8988, allocations: 8 kB / 0.7015 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/0.9016, allocations: 0.5421 MB / 0.702 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/0.9041, allocations: 0.9453 MB / 0.7029 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/0.9045, allocations: 91.73 kB / 0.703 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2634/1.168, allocations: 6.06 MB / 0.7089 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.168, allocations: 7.594 kB / 0.7089 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01509/1.183, allocations: 10.46 MB / 0.7191 GB, free: 182.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002956/1.186, allocations: 0.8889 MB / 0.72 GB, free: 182.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.187, allocations: 43.31 kB / 0.7201 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/1.19, allocations: 166.3 kB / 0.7202 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004981/1.19, allocations: 187.6 kB / 0.7204 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.19, allocations: 103.3 kB / 0.7205 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004112/1.195, allocations: 2.774 MB / 0.7232 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/1.195, allocations: 1.406 kB / 0.7232 GB, free: 181.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005966/1.201, allocations: 1.21 MB / 0.7244 GB, free: 181.1 MB / 0.5294 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 (206): * Single equations (assignments): 202 * 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.0005545/1.201, allocations: 181.5 kB / 0.7246 GB, free: 181 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01351/1.215, allocations: 9.827 MB / 0.7341 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.215, allocations: 4 kB / 0.7342 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003465/1.218, allocations: 3.025 MB / 0.7371 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/1.221, allocations: 0.5097 MB / 0.7376 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/1.237, allocations: 12.04 MB / 0.7494 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003287/1.241, allocations: 3.666 MB / 0.7529 GB, free: 158.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005195/1.246, allocations: 2.273 MB / 0.7552 GB, free: 156.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/1.247, allocations: 423 kB / 0.7556 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of SimCode: time 8.72e-07/1.247, allocations: 0 / 0.7556 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.0942/1.341, allocations: 56.41 MB / 0.8107 GB, free: 99.51 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches