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.0008535/0.0008535, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004923/0.004923, allocations: 160.9 kB / 24.7 MB, free: 8.898 MB / 18.57 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 0.8471/0.8471, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2381/0.2381, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.7 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 1.933e-06/1.933e-06, allocations: 0 / 443.4 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.074e-05, allocations: 2.281 kB / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.1852/0.1853, allocations: 9.72 MB / 453.2 MB, free: 38.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.1888, allocations: 3.657 MB / 456.8 MB, free: 36.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004823/0.1893, allocations: 76.12 kB / 456.9 MB, free: 36.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.1913, allocations: 2.736 MB / 459.6 MB, free: 35.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.1929, allocations: 1.863 MB / 461.5 MB, free: 34.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.1936, allocations: 0.7444 MB / 462.2 MB, free: 34.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.1954, allocations: 3.988 MB / 466.2 MB, free: 32.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.1969, allocations: 3.065 MB / 469.3 MB, free: 31.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.1982, allocations: 2.224 MB / 471.5 MB, free: 30.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.1995, allocations: 2.116 MB / 473.6 MB, free: 29.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002595/0.1998, allocations: 327 kB / 473.9 MB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008776/0.2006, allocations: 1.003 MB / 474.9 MB, free: 29.71 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007098/0.2013, allocations: 1.924 MB / 476.9 MB, free: 28.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.202, allocations: 1.211 MB / 478.1 MB, free: 28.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004223/0.2062, allocations: 6.717 MB / 484.8 MB, free: 25.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2062, allocations: 0 / 484.8 MB, free: 25.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2062, allocations: 0 / 484.8 MB, free: 25.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.545e-05/0.2063, allocations: 0.6562 kB / 484.8 MB, free: 25.96 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.009163/0.2154, allocations: 5.277 MB / 490.1 MB, free: 23.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2155, allocations: 10.91 kB / 490.1 MB, free: 23.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.2194, allocations: 1.915 MB / 492 MB, free: 23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002729/0.2221, allocations: 2.188 MB / 494.2 MB, free: 21.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.2222, allocations: 228.3 kB / 494.4 MB, free: 21.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.2226, allocations: 312 kB / 494.7 MB, free: 21.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0104/0.2331, allocations: 10.14 MB / 0.493 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.752e-05/0.2331, allocations: 48.3 kB / 0.4931 GB, free: 16.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002923/0.2334, allocations: 149.8 kB / 0.4932 GB, free: 16.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/0.2351, allocations: 1.798 MB / 0.495 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009203/0.2443, allocations: 9.116 MB / 0.5039 GB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/0.2699, allocations: 34.85 MB / 0.5379 GB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006695/0.2766, allocations: 3.369 MB / 0.5412 GB, free: 124 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.278, allocations: 1.618 MB / 0.5428 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/0.2783, allocations: 228.1 kB / 0.543 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.2784, allocations: 51.16 kB / 0.543 GB, free: 14.21 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 5.891e-06/0.2784, allocations: 0 / 0.543 GB, free: 14.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=136): time 0.02425/0.3026, allocations: 13.56 MB / 0.5563 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/0.3027, allocations: 141.2 kB / 0.5564 GB, free: 428 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/0.3066, allocations: 3.722 MB / 0.5601 GB, free: 12.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.3067, allocations: 45.7 kB / 0.5601 GB, free: 12.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.308, allocations: 3.078 MB / 0.5631 GB, free: 9.527 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004024/0.3084, allocations: 0.5661 MB / 0.5637 GB, free: 8.957 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/0.3096, allocations: 1.135 MB / 0.5648 GB, free: 7.812 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.346e-05/0.3097, allocations: 305.1 kB / 0.5651 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.3115, allocations: 1.935 MB / 0.567 GB, free: 5.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/0.3152, allocations: 5.509 MB / 0.5723 GB, free: 14.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006707/0.3219, allocations: 8.072 MB / 0.5802 GB, free: 4.418 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.946e-05/0.322, allocations: 40 kB / 0.5803 GB, free: 4.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=720) (initialization): time 0.008478/0.3305, allocations: 7.907 MB / 0.588 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.3305, allocations: 60 kB / 0.588 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.801e-05/0.3306, allocations: 128 kB / 0.5882 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.3319, allocations: 0.8989 MB / 0.589 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.334, allocations: 1.294 MB / 0.5903 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.3382, allocations: 5.01 MB / 0.5952 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.3408, allocations: 339.5 kB / 0.5955 GB, free: 4.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/0.3411, allocations: 364 kB / 0.5959 GB, free: 4.289 MB / 0.4948 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.003002/0.3441, allocations: 1.968 MB / 0.5978 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.3445, allocations: 309.9 kB / 0.5981 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003137/0.3477, allocations: 2.755 MB / 0.6008 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.3477, allocations: 19.98 kB / 0.6008 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.3477, allocations: 4 kB / 0.6008 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3477, allocations: 7.984 kB / 0.6008 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/0.3554, allocations: 6.296 MB / 0.6069 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.3554, allocations: 0 / 0.6069 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/0.356, allocations: 251.7 kB / 0.6072 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001148/0.3572, allocations: 0.7148 MB / 0.6079 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.3572, allocations: 43.95 kB / 0.6079 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004081/0.3613, allocations: 4.604 MB / 0.6124 GB, free: 3.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3613, allocations: 11.98 kB / 0.6124 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004922/0.3663, allocations: 5.119 MB / 0.6174 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/0.367, allocations: 293.9 kB / 0.6177 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.3672, allocations: 24 kB / 0.6177 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006984/0.3679, allocations: 107.8 kB / 0.6178 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.3681, allocations: 104.5 kB / 0.6179 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/0.3681, allocations: 52.47 kB / 0.618 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002287/0.3704, allocations: 2.16 MB / 0.6201 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3704, allocations: 0 / 0.6201 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003105/0.3735, allocations: 0.9413 MB / 0.621 GB, free: 10.3 MB / 0.5261 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.0003339/0.3739, allocations: 171 kB / 0.6212 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004567/0.3784, allocations: 4.472 MB / 0.6255 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3784, allocations: 0 / 0.6255 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.3796, allocations: 1.291 MB / 0.6268 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.3808, allocations: 372.3 kB / 0.6272 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1803/0.5611, allocations: 8.835 MB / 0.6358 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.5628, allocations: 2.515 MB / 0.6382 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007325/0.5635, allocations: 293.4 kB / 0.6385 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of SimCode: time 8.42e-07/0.5635, allocations: 1.031 kB / 0.6385 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.06949/0.633, allocations: 71.2 MB / 0.7081 GB, free: 115.9 MB / 0.5261 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: 8.141533011570573]