Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.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.001309/0.001309, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001484/0.001484, allocations: 169.4 kB / 24.5 MB, free: 3.453 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.467/1.467, allocations: 177.2 MB / 204.9 MB, free: 9.051 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.2164/0.2164, allocations: 34.26 MB / 295.5 MB, free: 14.59 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.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|ActuatedRevolute1.frame_b.r_0.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.89 kB / 443.1 MB, free: 6.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 66.01 MB / 0.4972 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005959/0.3217, allocations: 6.689 MB / 0.5037 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004712/0.3265, allocations: 3.171 MB / 0.5068 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004947/0.3269, allocations: 38.84 kB / 0.5069 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.3284, allocations: 0.7931 MB / 0.5076 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.3304, allocations: 1.319 MB / 0.5089 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008521/0.3313, allocations: 0.5314 MB / 0.5094 GB, free: 22.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.3337, allocations: 2.597 MB / 0.512 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.335, allocations: 1.157 MB / 0.5131 GB, free: 21.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008894/0.3359, allocations: 0.78 MB / 0.5139 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.3375, allocations: 1.192 MB / 0.515 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000278/0.3377, allocations: 138.7 kB / 0.5152 GB, free: 20.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.3392, allocations: 0.8334 MB / 0.516 GB, free: 20.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008891/0.3401, allocations: 1.026 MB / 0.517 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007667/0.3409, allocations: 0.8679 MB / 0.5178 GB, free: 19.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004528/0.3454, allocations: 4.046 MB / 0.5218 GB, free: 17.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3454, allocations: 1.453 kB / 0.5218 GB, free: 17.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3454, allocations: 0 / 0.5218 GB, free: 17.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.708e-05/0.3455, allocations: 1.062 kB / 0.5218 GB, free: 17.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.005519/0.351, allocations: 2.934 MB / 0.5247 GB, free: 16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3511, allocations: 13.41 kB / 0.5247 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/0.3575, allocations: 1.739 MB / 0.5264 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.3602, allocations: 1.278 MB / 0.5276 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.975e-05/0.3603, allocations: 118.8 kB / 0.5277 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.3606, allocations: 165.6 kB / 0.5279 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008994/0.3696, allocations: 6.461 MB / 0.5342 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.411e-05/0.3696, allocations: 37.31 kB / 0.5342 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.3699, allocations: 83.7 kB / 0.5343 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002323/0.3722, allocations: 1.438 MB / 0.5357 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009525/0.3817, allocations: 5.737 MB / 0.5413 GB, free: 7.941 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.4116, allocations: 25.32 MB / 0.566 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.4161, allocations: 1.655 MB / 0.5677 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.4175, allocations: 0.9566 MB / 0.5686 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.4177, allocations: 20.31 kB / 0.5686 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.4177, allocations: 46.83 kB / 0.5687 GB, free: 11.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.777e-06/0.4177, allocations: 0 / 0.5687 GB, free: 11.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01827/0.436, allocations: 6.696 MB / 0.5752 GB, free: 4.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.4361, allocations: 141 kB / 0.5753 GB, free: 4.172 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005395/0.4415, allocations: 2.662 MB / 0.5779 GB, free: 1.477 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.4416, allocations: 37.7 kB / 0.578 GB, free: 1.434 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/0.4436, allocations: 2.217 MB / 0.5801 GB, free: 15.19 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.4442, allocations: 476.4 kB / 0.5806 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.4457, allocations: 0.9091 MB / 0.5815 GB, free: 13.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.4459, allocations: 345.9 kB / 0.5818 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00261/0.4485, allocations: 1.434 MB / 0.5832 GB, free: 12.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005296/0.4538, allocations: 4.314 MB / 0.5874 GB, free: 6.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007898/0.4617, allocations: 6.213 MB / 0.5935 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.291e-05/0.4618, allocations: 28 kB / 0.5935 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01023/0.472, allocations: 5.507 MB / 0.5989 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.662e-05/0.4721, allocations: 48 kB / 0.5989 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/0.4723, allocations: 104 kB / 0.599 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.4724, allocations: 132 kB / 0.5992 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004602/0.477, allocations: 1.236 MB / 0.6004 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001877/0.4772, allocations: 199.2 kB / 0.6006 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/0.4803, allocations: 275.8 kB / 0.6008 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004737/0.4808, allocations: 284 kB / 0.6011 GB, free: 6.809 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (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],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (557): * Single equations (assignments): 554 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002383/0.4832, allocations: 1.383 MB / 0.6024 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004896/0.4837, allocations: 222.4 kB / 0.6027 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.4859, allocations: 1.209 MB / 0.6038 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/0.4859, allocations: 20 kB / 0.6039 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4859, allocations: 3.938 kB / 0.6039 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4859, allocations: 7.922 kB / 0.6039 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00883/0.4947, allocations: 3.952 MB / 0.6077 GB, free: 15.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/0.4948, allocations: 8.516 kB / 0.6077 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/0.4968, allocations: 375.3 kB / 0.6081 GB, free: 15.52 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-05/0.4968, allocations: 8 kB / 0.6081 GB, free: 15.51 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/0.4969, allocations: 24 kB / 0.6081 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.4969, allocations: 8 kB / 0.6081 GB, free: 15.48 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.4969, allocations: 11.92 kB / 0.6081 GB, free: 15.46 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/0.4999, allocations: 2.139 MB / 0.6102 GB, free: 13.26 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005332/0.5005, allocations: 206.5 kB / 0.6104 GB, free: 13.05 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/0.5008, allocations: 16 kB / 0.6104 GB, free: 13.04 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.5018, allocations: 67.91 kB / 0.6105 GB, free: 12.97 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.502, allocations: 71.75 kB / 0.6106 GB, free: 12.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/0.5021, allocations: 40 kB / 0.6106 GB, free: 12.86 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002712/0.5048, allocations: 1.508 MB / 0.6121 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/0.5048, allocations: 0 / 0.6121 GB, free: 11.34 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00351/0.5083, allocations: 0.6131 MB / 0.6127 GB, free: 10.73 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003609/0.5087, allocations: 154.9 kB / 0.6128 GB, free: 10.57 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005228/0.5139, allocations: 3.161 MB / 0.6159 GB, free: 7.426 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5139, allocations: 0 / 0.6159 GB, free: 7.426 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.515, allocations: 0.7415 MB / 0.6166 GB, free: 6.684 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.5166, allocations: 248.9 kB / 0.6169 GB, free: 6.441 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/0.5275, allocations: 5.585 MB / 0.6223 GB, free: 0.7578 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003169/0.5307, allocations: 1.638 MB / 0.6239 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003989/0.5346, allocations: 1.425 MB / 0.6253 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007345/0.5354, allocations: 156.5 kB / 0.6255 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.693e-06/0.5354, allocations: 0 / 0.6255 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.03885/0.5742, allocations: 16.73 MB / 0.6418 GB, free: 13.03 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.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.084306557895616]