Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 84.3 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2315/0.2315, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.042e-05/3.242e-05, allocations: 2.281 kB / 442.7 MB, free: 5.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2293/0.2293, allocations: 9.73 MB / 452.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007251/0.2366, allocations: 3.656 MB / 456.1 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.2384, allocations: 77.19 kB / 456.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005445/0.2438, allocations: 2.731 MB / 458.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.2492, allocations: 1.866 MB / 460.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.251, allocations: 0.7504 MB / 461.5 MB, free: 9.824 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005257/0.2562, allocations: 3.975 MB / 465.5 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003676/0.2599, allocations: 3.067 MB / 468.5 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00352/0.2634, allocations: 2.229 MB / 470.8 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003243/0.2667, allocations: 2.114 MB / 472.9 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007362/0.2674, allocations: 327.4 kB / 473.2 MB, free: 4.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.2694, allocations: 0.9968 MB / 474.2 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.271, allocations: 1.921 MB / 476.1 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.2726, allocations: 1.214 MB / 477.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.2811, allocations: 6.725 MB / 484.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2811, allocations: 0 / 484.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2811, allocations: 0 / 484.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002116/0.2813, allocations: 4 kB / 484.1 MB, free: 12.62 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02111/0.3024, allocations: 5.277 MB / 489.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.3024, allocations: 8.031 kB / 489.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007464/0.3099, allocations: 1.925 MB / 491.3 MB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004964/0.3149, allocations: 2.189 MB / 493.5 MB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.3151, allocations: 226.1 kB / 493.7 MB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000747/0.3158, allocations: 311.8 kB / 494 MB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02079/0.3366, allocations: 10.14 MB / 0.4923 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001404/0.3368, allocations: 43.64 kB / 0.4923 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007189/0.3375, allocations: 147.9 kB / 0.4925 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003494/0.341, allocations: 1.802 MB / 0.4942 GB, free: 5.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/0.3612, allocations: 9.101 MB / 0.5031 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05054/0.4118, allocations: 34.83 MB / 0.5372 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/0.426, allocations: 3.36 MB / 0.5404 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.4285, allocations: 1.605 MB / 0.542 GB, free: 3.816 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007645/0.4293, allocations: 224.1 kB / 0.5422 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.4294, allocations: 55.14 kB / 0.5423 GB, free: 3.535 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 4.468e-06/0.4294, allocations: 0 / 0.5423 GB, free: 3.535 MB / 446.1 MB Notification: Performance of matching and sorting (n=136): time 0.04772/0.4771, allocations: 13.53 MB / 0.5555 GB, free: 5.949 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.4772, allocations: 141.2 kB / 0.5556 GB, free: 5.781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005684/0.4829, allocations: 3.722 MB / 0.5592 GB, free: 2.051 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003041/0.4832, allocations: 41.7 kB / 0.5593 GB, free: 2.004 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002553/0.4857, allocations: 3.082 MB / 0.5623 GB, free: 14.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007621/0.4865, allocations: 0.5661 MB / 0.5628 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/0.4881, allocations: 1.139 MB / 0.564 GB, free: 13.17 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.4882, allocations: 301.3 kB / 0.5642 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003041/0.4913, allocations: 1.931 MB / 0.5661 GB, free: 10.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006019/0.4973, allocations: 5.505 MB / 0.5715 GB, free: 3.629 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/0.5077, allocations: 8.045 MB / 0.5794 GB, free: 9.801 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/0.5078, allocations: 36 kB / 0.5794 GB, free: 9.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.0152/0.523, allocations: 7.886 MB / 0.5871 GB, free: 1.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.677e-05/0.5231, allocations: 60 kB / 0.5872 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/0.5232, allocations: 128 kB / 0.5873 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002706/0.5259, allocations: 0.9061 MB / 0.5882 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004131/0.5301, allocations: 1.294 MB / 0.5894 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007463/0.5375, allocations: 5.012 MB / 0.5943 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004095/0.5416, allocations: 339.7 kB / 0.5946 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006817/0.5423, allocations: 364 kB / 0.595 GB, free: 9.695 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (681): * Single equations (assignments): 677 * 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.00347/0.5458, allocations: 1.967 MB / 0.5969 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006777/0.5464, allocations: 306 kB / 0.5972 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005845/0.5523, allocations: 2.743 MB / 0.5999 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.5523, allocations: 16 kB / 0.5999 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.5523, allocations: 4 kB / 0.5999 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.5524, allocations: 15.91 kB / 0.5999 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.5662, allocations: 6.266 MB / 0.606 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.5663, allocations: 0 / 0.606 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.5676, allocations: 255.8 kB / 0.6063 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.5699, allocations: 0.7224 MB / 0.607 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.5701, allocations: 39.91 kB / 0.607 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006935/0.577, allocations: 4.62 MB / 0.6115 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.577, allocations: 3.938 kB / 0.6115 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009377/0.5864, allocations: 5.084 MB / 0.6165 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009324/0.5873, allocations: 297.9 kB / 0.6168 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.5877, allocations: 24 kB / 0.6168 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.5891, allocations: 107.8 kB / 0.6169 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/0.5894, allocations: 100.4 kB / 0.617 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/0.5896, allocations: 55.97 kB / 0.6171 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0036/0.5932, allocations: 2.163 MB / 0.6192 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5932, allocations: 0 / 0.6192 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004766/0.5979, allocations: 0.9452 MB / 0.6201 GB, free: 15.75 MB / 0.5294 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.0004603/0.5984, allocations: 158.9 kB / 0.6203 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007241/0.6056, allocations: 4.459 MB / 0.6246 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.6056, allocations: 0 / 0.6246 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/0.6076, allocations: 1.287 MB / 0.6259 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.61, allocations: 372.6 kB / 0.6262 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.6251, allocations: 8.391 MB / 0.6344 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2103/0.8354, allocations: 2.515 MB / 0.6369 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004237/0.8396, allocations: 1.746 MB / 0.6386 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007441/0.8404, allocations: 250.8 kB / 0.6388 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.343e-06/0.8404, allocations: 0 / 0.6388 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.06/0.9004, allocations: 29.22 MB / 0.6674 GB, free: 158.5 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.927644178271294]