Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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-beta.om_ModelicaTest.Rotational.TestMove") translateModel(ModelicaTest.Rotational.TestMove,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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-beta.om_ModelicaTest.Rotational.TestMove") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001259/0.001259, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 230.2 MB / 250.8 MB, free: 8.781 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2413/0.2413, allocations: 46.89 MB / 351.8 MB, free: 7.32 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 71.88 kB / 496.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3719, allocations: 65.97 MB / 0.5493 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01036/0.3823, allocations: 7.526 MB / 0.5566 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007199/0.3895, allocations: 3.376 MB / 0.5599 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.3905, allocations: 31.94 kB / 0.5599 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.3925, allocations: 0.8209 MB / 0.5607 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003287/0.3957, allocations: 1.311 MB / 0.562 GB, free: 8.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.397, allocations: 0.5261 MB / 0.5625 GB, free: 7.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00372/0.4007, allocations: 2.598 MB / 0.5651 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.4022, allocations: 1.092 MB / 0.5661 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.4034, allocations: 0.7667 MB / 0.5669 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.4051, allocations: 1.23 MB / 0.5681 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.4054, allocations: 144 kB / 0.5682 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.4072, allocations: 0.9594 MB / 0.5692 GB, free: 1.066 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.4083, allocations: 1.036 MB / 0.5702 GB, free: 28 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00118/0.4095, allocations: 1.203 MB / 0.5713 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004967/0.4144, allocations: 4.038 MB / 0.5753 GB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4144, allocations: 0 / 0.5753 GB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4144, allocations: 0 / 0.5753 GB, free: 10.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.134e-05/0.4145, allocations: 0 / 0.5753 GB, free: 10.77 MB / 430.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.00563/0.4201, allocations: 3.018 MB / 0.5782 GB, free: 7.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.4202, allocations: 8.031 kB / 0.5782 GB, free: 7.676 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005635/0.4258, allocations: 1.664 MB / 0.5799 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.4283, allocations: 1.325 MB / 0.5812 GB, free: 4.637 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.4284, allocations: 123.4 kB / 0.5813 GB, free: 4.516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/0.4288, allocations: 171.9 kB / 0.5814 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.4396, allocations: 6.456 MB / 0.5877 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.498e-05/0.4397, allocations: 31.7 kB / 0.5878 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.4399, allocations: 83.89 kB / 0.5879 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002466/0.4424, allocations: 1.445 MB / 0.5893 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.4548, allocations: 5.717 MB / 0.5948 GB, free: 6.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03549/0.4903, allocations: 26.78 MB / 0.621 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004475/0.4948, allocations: 2.082 MB / 0.623 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.4962, allocations: 0.9608 MB / 0.624 GB, free: 7.246 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.4964, allocations: 174.5 kB / 0.6241 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.4965, allocations: 46.83 kB / 0.6242 GB, free: 6.984 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 3.707e-06/0.4965, allocations: 0 / 0.6242 GB, free: 6.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01705/0.5135, allocations: 6.498 MB / 0.6305 GB, free: 480 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.5136, allocations: 144.9 kB / 0.6307 GB, free: 304 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004286/0.5179, allocations: 2.89 MB / 0.6335 GB, free: 13.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000179/0.5181, allocations: 41.7 kB / 0.6335 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001748/0.5198, allocations: 2.19 MB / 0.6357 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005056/0.5204, allocations: 476.5 kB / 0.6361 GB, free: 10.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.5214, allocations: 0.9013 MB / 0.637 GB, free: 9.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5216, allocations: 305.1 kB / 0.6373 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/0.5238, allocations: 1.43 MB / 0.6387 GB, free: 8.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005993/0.5298, allocations: 4.299 MB / 0.6429 GB, free: 2.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008482/0.5382, allocations: 6.206 MB / 0.6489 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.338e-05/0.5383, allocations: 28 kB / 0.649 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.009969/0.5483, allocations: 5.516 MB / 0.6544 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.207e-05/0.5484, allocations: 52 kB / 0.6544 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.5485, allocations: 104 kB / 0.6545 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.5486, allocations: 136 kB / 0.6546 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/0.5526, allocations: 1.228 MB / 0.6558 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001673/0.5528, allocations: 207.2 kB / 0.656 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/0.5559, allocations: 239.6 kB / 0.6563 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/0.5563, allocations: 284 kB / 0.6565 GB, free: 2.84 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.002324/0.5586, allocations: 1.384 MB / 0.6579 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004795/0.5591, allocations: 250.3 kB / 0.6581 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.5611, allocations: 1.241 MB / 0.6593 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.5611, allocations: 12 kB / 0.6593 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.5611, allocations: 7.875 kB / 0.6594 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.5611, allocations: 7.984 kB / 0.6594 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007418/0.5685, allocations: 4.543 MB / 0.6638 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.5685, allocations: 12.06 kB / 0.6638 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/0.5702, allocations: 367.3 kB / 0.6642 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.5703, allocations: 8 kB / 0.6642 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-05/0.5703, allocations: 24 kB / 0.6642 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.584e-05/0.5704, allocations: 11.94 kB / 0.6642 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.5704, allocations: 4 kB / 0.6642 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.5733, allocations: 2.182 MB / 0.6663 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005885/0.5739, allocations: 315.5 kB / 0.6666 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002379/0.5741, allocations: 24 kB / 0.6667 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008373/0.575, allocations: 51.92 kB / 0.6667 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.5751, allocations: 75.73 kB / 0.6668 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.5752, allocations: 36 kB / 0.6668 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002804/0.578, allocations: 1.811 MB / 0.6686 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.578, allocations: 0 / 0.6686 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003291/0.5813, allocations: 0.6248 MB / 0.6692 GB, free: 5.641 MB / 0.5137 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.000332/0.5816, allocations: 150.9 kB / 0.6693 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005205/0.5868, allocations: 3.166 MB / 0.6724 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5869, allocations: 3.938 kB / 0.6724 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.588, allocations: 0.7415 MB / 0.6732 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.5898, allocations: 277.1 kB / 0.6734 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.5998, allocations: 5.629 MB / 0.6789 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/0.6025, allocations: 2.21 MB / 0.6811 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003434/0.6059, allocations: 1.455 MB / 0.6825 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006059/0.6066, allocations: 171.4 kB / 0.6827 GB, free: 7.734 MB / 0.5294 GB Notification: Performance of SimCode: time 1.502e-06/0.6066, allocations: 3.938 kB / 0.6827 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.04429/0.6508, allocations: 20.16 MB / 0.7024 GB, free: 3.613 MB / 0.545 GB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches