Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001684/0.001684, 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.001984/0.001984, allocations: 169 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: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2013/0.2013, allocations: 32.81 MB / 294.1 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.89 kB / 440.5 MB, free: 9.496 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.404, allocations: 65.44 MB / 0.4941 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.007155/0.4111, allocations: 6.689 MB / 0.5007 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006076/0.4172, allocations: 3.163 MB / 0.5037 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.4182, allocations: 44.62 kB / 0.5038 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.4199, allocations: 0.7802 MB / 0.5046 GB, free: 24.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.4227, allocations: 1.329 MB / 0.5058 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.4238, allocations: 0.5329 MB / 0.5064 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002659/0.4265, allocations: 2.591 MB / 0.5089 GB, free: 23.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.4276, allocations: 1.154 MB / 0.51 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00088/0.4285, allocations: 0.7843 MB / 0.5108 GB, free: 22.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001713/0.4302, allocations: 1.19 MB / 0.512 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003744/0.4306, allocations: 138.5 kB / 0.5121 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.4324, allocations: 0.83 MB / 0.5129 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.4335, allocations: 1.038 MB / 0.5139 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.4345, allocations: 0.8631 MB / 0.5148 GB, free: 20.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007029/0.4416, allocations: 4.043 MB / 0.5187 GB, free: 19.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4416, allocations: 0 / 0.5187 GB, free: 19.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4416, allocations: 0 / 0.5187 GB, free: 19.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001642/0.4418, allocations: 1.062 kB / 0.5187 GB, free: 19.24 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.008636/0.4504, allocations: 2.938 MB / 0.5216 GB, free: 17.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4504, allocations: 10.73 kB / 0.5216 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007487/0.4579, allocations: 1.74 MB / 0.5233 GB, free: 17.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004362/0.4623, allocations: 1.27 MB / 0.5245 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.4624, allocations: 126.3 kB / 0.5246 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006456/0.4631, allocations: 166.8 kB / 0.5248 GB, free: 16.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.4754, allocations: 6.465 MB / 0.5311 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-05/0.4755, allocations: 32.69 kB / 0.5311 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.4757, allocations: 88.34 kB / 0.5312 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/0.4786, allocations: 1.436 MB / 0.5326 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/0.4902, allocations: 5.729 MB / 0.5382 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03335/0.5235, allocations: 25.33 MB / 0.563 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004569/0.5281, allocations: 1.655 MB / 0.5646 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.5296, allocations: 0.9568 MB / 0.5655 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.5297, allocations: 24.25 kB / 0.5655 GB, free: 14.42 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.5298, allocations: 46.83 kB / 0.5656 GB, free: 14.37 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 5.35e-06/0.5298, allocations: 0 / 0.5656 GB, free: 14.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01798/0.5478, allocations: 6.68 MB / 0.5721 GB, free: 7.676 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5479, allocations: 145 kB / 0.5722 GB, free: 7.504 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/0.5519, allocations: 2.666 MB / 0.5748 GB, free: 4.805 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.5521, allocations: 45.67 kB / 0.5749 GB, free: 4.754 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/0.554, allocations: 2.217 MB / 0.5771 GB, free: 2.512 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005938/0.5546, allocations: 468.5 kB / 0.5775 GB, free: 2.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001338/0.5559, allocations: 0.9052 MB / 0.5784 GB, free: 1.133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5561, allocations: 349.9 kB / 0.5787 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00236/0.5585, allocations: 1.437 MB / 0.5801 GB, free: 15.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005081/0.5635, allocations: 4.307 MB / 0.5843 GB, free: 9.582 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008174/0.5717, allocations: 6.214 MB / 0.5904 GB, free: 1.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.882e-05/0.5718, allocations: 36 kB / 0.5904 GB, free: 1.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.0098/0.5816, allocations: 5.507 MB / 0.5958 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.5817, allocations: 48 kB / 0.5959 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/0.5818, allocations: 100 kB / 0.596 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/0.5819, allocations: 136 kB / 0.5961 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/0.5861, allocations: 1.236 MB / 0.5973 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001677/0.5863, allocations: 203.2 kB / 0.5975 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003002/0.5893, allocations: 275.7 kB / 0.5977 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004166/0.5897, allocations: 280 kB / 0.598 GB, free: 10.13 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.002497/0.5922, allocations: 1.391 MB / 0.5994 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004892/0.5927, allocations: 222.5 kB / 0.5996 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.5949, allocations: 1.209 MB / 0.6008 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.5949, allocations: 12 kB / 0.6008 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.595, allocations: 4 kB / 0.6008 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.595, allocations: 11.92 kB / 0.6008 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008789/0.6038, allocations: 3.959 MB / 0.6047 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.6038, allocations: 4 kB / 0.6047 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/0.6059, allocations: 363.9 kB / 0.605 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-05/0.6059, allocations: 8 kB / 0.605 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.606, allocations: 27.98 kB / 0.605 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/0.6061, allocations: 11.94 kB / 0.6051 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/0.6061, allocations: 8 kB / 0.6051 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/0.6097, allocations: 2.135 MB / 0.6071 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.6105, allocations: 202.7 kB / 0.6073 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004919/0.611, allocations: 27.98 kB / 0.6074 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.6122, allocations: 59.92 kB / 0.6074 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.6124, allocations: 75.7 kB / 0.6075 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.6125, allocations: 40 kB / 0.6075 GB, free: 192 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003834/0.6164, allocations: 1.516 MB / 0.609 GB, free: 14.66 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6164, allocations: 0 / 0.609 GB, free: 14.66 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005007/0.6214, allocations: 0.6131 MB / 0.6096 GB, free: 14.04 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.0005372/0.6219, allocations: 154.9 kB / 0.6098 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.006515/0.6284, allocations: 3.169 MB / 0.6129 GB, free: 10.73 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.6284, allocations: 0 / 0.6129 GB, free: 10.73 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.6297, allocations: 0.7423 MB / 0.6136 GB, free: 9.992 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.6319, allocations: 236.3 kB / 0.6138 GB, free: 9.758 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.6434, allocations: 5.582 MB / 0.6193 GB, free: 4.078 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002271/0.6457, allocations: 1.634 MB / 0.6209 GB, free: 2.406 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.003324/0.649, allocations: 1.426 MB / 0.6222 GB, free: 0.9727 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005253/0.6496, allocations: 164.5 kB / 0.6224 GB, free: 0.8125 MB / 0.5138 GB Notification: Performance of SimCode: time 1.303e-06/0.6496, allocations: 0 / 0.6224 GB, free: 0.8125 MB / 0.5138 GB Notification: Performance of Templates: time 0.0408/0.6904, allocations: 16.73 MB / 0.6387 GB, free: 356 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.248433090047911]