Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001804/0.001804, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002468/0.002468, allocations: 211.8 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2489/0.2489, allocations: 46.89 MB / 361.3 MB, free: 4.461 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=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_trunk_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_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003762/0.003762, allocations: 83.8 kB / 0.497 GB, free: 7.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4368, allocations: 66.02 MB / 0.5615 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01093/0.4477, allocations: 7.542 MB / 0.5689 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007582/0.4553, allocations: 3.399 MB / 0.5722 GB, free: 9.676 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/0.4566, allocations: 39.81 kB / 0.5722 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002213/0.4589, allocations: 0.8287 MB / 0.573 GB, free: 8.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004418/0.4633, allocations: 1.315 MB / 0.5743 GB, free: 7.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.465, allocations: 0.5262 MB / 0.5748 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004628/0.4696, allocations: 2.601 MB / 0.5774 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.4715, allocations: 1.026 MB / 0.5784 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.4729, allocations: 0.7823 MB / 0.5791 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.4747, allocations: 1.23 MB / 0.5803 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.4751, allocations: 140 kB / 0.5805 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.4771, allocations: 0.9633 MB / 0.5814 GB, free: 196 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.4782, allocations: 1.032 MB / 0.5824 GB, free: 15.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.4796, allocations: 1.203 MB / 0.5836 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005527/0.4851, allocations: 4.037 MB / 0.5875 GB, free: 9.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4851, allocations: 7.938 kB / 0.5876 GB, free: 9.887 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4851, allocations: 0 / 0.5876 GB, free: 9.887 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.778e-05/0.4852, allocations: 0 / 0.5876 GB, free: 9.887 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.005975/0.4912, allocations: 2.939 MB / 0.5904 GB, free: 6.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.4912, allocations: 8.031 kB / 0.5904 GB, free: 6.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006106/0.4973, allocations: 1.664 MB / 0.5921 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.5004, allocations: 1.263 MB / 0.5933 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.5005, allocations: 123.4 kB / 0.5934 GB, free: 3.812 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004032/0.5009, allocations: 164 kB / 0.5936 GB, free: 3.652 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009796/0.5107, allocations: 6.46 MB / 0.5999 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-05/0.5108, allocations: 35.7 kB / 0.5999 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.511, allocations: 83.89 kB / 0.6 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002795/0.5138, allocations: 1.433 MB / 0.6014 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.5252, allocations: 5.728 MB / 0.607 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04003/0.5652, allocations: 26.65 MB / 0.633 GB, free: 9.867 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004759/0.57, allocations: 1.618 MB / 0.6346 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.5716, allocations: 0.9569 MB / 0.6355 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001795/0.5717, allocations: 28.3 kB / 0.6355 GB, free: 7.215 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.261e-05/0.5718, allocations: 42.83 kB / 0.6356 GB, free: 7.164 MB / 478.1 MB Notification: Performance of pre-optimization done (n=100): time 4.558e-06/0.5718, allocations: 0 / 0.6356 GB, free: 7.164 MB / 478.1 MB Notification: Performance of matching and sorting (n=112): time 0.01824/0.59, allocations: 6.505 MB / 0.6419 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.5902, allocations: 144.9 kB / 0.6421 GB, free: 480 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004642/0.5948, allocations: 2.886 MB / 0.6449 GB, free: 13.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002061/0.595, allocations: 45.61 kB / 0.6449 GB, free: 13.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/0.5968, allocations: 2.194 MB / 0.6471 GB, free: 11.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005339/0.5973, allocations: 476.5 kB / 0.6475 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.5985, allocations: 0.9052 MB / 0.6484 GB, free: 9.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5986, allocations: 301.1 kB / 0.6487 GB, free: 9.621 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.6008, allocations: 1.426 MB / 0.6501 GB, free: 8.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004502/0.6053, allocations: 4.295 MB / 0.6543 GB, free: 2.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008088/0.6134, allocations: 6.206 MB / 0.6604 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-05/0.6135, allocations: 28 kB / 0.6604 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01002/0.6235, allocations: 5.528 MB / 0.6658 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.6236, allocations: 48 kB / 0.6658 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/0.6237, allocations: 104.8 kB / 0.6659 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/0.6239, allocations: 132 kB / 0.666 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/0.6283, allocations: 1.232 MB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002145/0.6285, allocations: 203.2 kB / 0.6674 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/0.6318, allocations: 243.6 kB / 0.6677 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004597/0.6322, allocations: 280 kB / 0.6679 GB, free: 3.016 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.002413/0.6346, allocations: 1.38 MB / 0.6693 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/0.6352, allocations: 254.3 kB / 0.6695 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00234/0.6375, allocations: 1.241 MB / 0.6707 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/0.6376, allocations: 12 kB / 0.6708 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.6376, allocations: 7.938 kB / 0.6708 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.6376, allocations: 3.984 kB / 0.6708 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008632/0.6462, allocations: 4.523 MB / 0.6752 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.6462, allocations: 8 kB / 0.6752 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/0.6482, allocations: 371.3 kB / 0.6755 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.811e-05/0.6482, allocations: 8 kB / 0.6756 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.6483, allocations: 20 kB / 0.6756 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/0.6483, allocations: 11.94 kB / 0.6756 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.6483, allocations: 4.344 kB / 0.6756 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002913/0.6512, allocations: 2.183 MB / 0.6777 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/0.6518, allocations: 242.1 kB / 0.678 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.6521, allocations: 24 kB / 0.678 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009112/0.653, allocations: 55.92 kB / 0.678 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.6532, allocations: 71.91 kB / 0.6781 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.454e-05/0.6533, allocations: 39.98 kB / 0.6781 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002848/0.6561, allocations: 1.815 MB / 0.6799 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6561, allocations: 0 / 0.6799 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003389/0.6595, allocations: 0.6132 MB / 0.6805 GB, free: 5.949 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.0004132/0.6599, allocations: 174.7 kB / 0.6807 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005608/0.6655, allocations: 3.15 MB / 0.6838 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.6655, allocations: 4.188 kB / 0.6838 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.6667, allocations: 0.7346 MB / 0.6845 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.6687, allocations: 272.9 kB / 0.6847 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.6794, allocations: 5.629 MB / 0.6902 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002588/0.682, allocations: 2.202 MB / 0.6924 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00342/0.6854, allocations: 1.455 MB / 0.6938 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005925/0.686, allocations: 179.4 kB / 0.694 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of SimCode: time 1.933e-06/0.686, allocations: 0 / 0.694 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of Templates: time 0.0521/0.7381, allocations: 22.77 MB / 0.7162 GB, free: 1.316 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.621660350821912]