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.001321/0.001321, allocations: 118 kB / 18.46 MB, free: 4.613 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.001346/0.001346, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.483/1.483, allocations: 227.4 MB / 251.7 MB, free: 72 kB / 190.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.2356/0.2356, allocations: 46.17 MB / 351.1 MB, free: 14.29 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.002279/0.002279, allocations: 88.86 kB / 490.2 MB, free: 27.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1303, allocations: 62.45 MB / 0.5397 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.009274/0.1396, allocations: 7.472 MB / 0.547 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00651/0.1462, allocations: 3.345 MB / 0.5502 GB, free: 9.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009909/0.1472, allocations: 35.88 kB / 0.5503 GB, free: 9.355 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.149, allocations: 0.8054 MB / 0.551 GB, free: 8.547 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003345/0.1524, allocations: 1.294 MB / 0.5523 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.1537, allocations: 0.5223 MB / 0.5528 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003817/0.1576, allocations: 2.604 MB / 0.5554 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.1593, allocations: 1.237 MB / 0.5566 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.1604, allocations: 0.7666 MB / 0.5573 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.1622, allocations: 1.121 MB / 0.5584 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004667/0.1626, allocations: 140 kB / 0.5585 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002377/0.165, allocations: 0.9204 MB / 0.5594 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.1663, allocations: 1.005 MB / 0.5604 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001607/0.1679, allocations: 1.211 MB / 0.5616 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.1738, allocations: 4.03 MB / 0.5655 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.1739, allocations: 0 / 0.5655 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1739, allocations: 4 kB / 0.5655 GB, free: 9.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.123e-05/0.174, allocations: 0 / 0.5655 GB, free: 9.637 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.005794/0.1798, allocations: 3.014 MB / 0.5685 GB, free: 6.559 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1798, allocations: 12.03 kB / 0.5685 GB, free: 6.547 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005937/0.1858, allocations: 1.66 MB / 0.5701 GB, free: 4.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/0.1883, allocations: 1.329 MB / 0.5714 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1884, allocations: 123.4 kB / 0.5715 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003268/0.1887, allocations: 164 kB / 0.5717 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00975/0.1985, allocations: 6.464 MB / 0.578 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.421e-05/0.1986, allocations: 35.7 kB / 0.578 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.1989, allocations: 83.89 kB / 0.5781 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002492/0.2014, allocations: 1.433 MB / 0.5795 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.2114, allocations: 5.732 MB / 0.5851 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.36/0.5714, allocations: 26.76 MB / 0.6112 GB, free: 39.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004884/0.5763, allocations: 2.14 MB / 0.6133 GB, free: 39.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.578, allocations: 1.038 MB / 0.6144 GB, free: 39.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.5782, allocations: 175.6 kB / 0.6145 GB, free: 38.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.5782, allocations: 49.89 kB / 0.6146 GB, free: 38.82 MB / 462.1 MB Notification: Performance of pre-optimization done (n=100): time 4.058e-06/0.5782, allocations: 0 / 0.6146 GB, free: 38.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=112): time 0.01768/0.5959, allocations: 6.505 MB / 0.6209 GB, free: 37.06 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.596, allocations: 139.9 kB / 0.6211 GB, free: 36.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006087/0.6021, allocations: 2.887 MB / 0.6239 GB, free: 35.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002254/0.6024, allocations: 41.58 kB / 0.6239 GB, free: 35.86 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001746/0.6041, allocations: 2.192 MB / 0.6261 GB, free: 34.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006861/0.6048, allocations: 478.1 kB / 0.6265 GB, free: 33.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001481/0.6063, allocations: 0.9016 MB / 0.6274 GB, free: 33.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.6064, allocations: 302.3 kB / 0.6277 GB, free: 33.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002808/0.6092, allocations: 1.428 MB / 0.6291 GB, free: 32.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003763/0.613, allocations: 4.302 MB / 0.6333 GB, free: 28.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006176/0.6192, allocations: 6.203 MB / 0.6393 GB, free: 23.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.295e-05/0.6193, allocations: 27.59 kB / 0.6394 GB, free: 23.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.008318/0.6276, allocations: 5.532 MB / 0.6448 GB, free: 21.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.03e-05/0.6277, allocations: 48.66 kB / 0.6448 GB, free: 21.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.503e-05/0.6278, allocations: 105.7 kB / 0.6449 GB, free: 21.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001246/0.628, allocations: 140 kB / 0.645 GB, free: 21.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.6316, allocations: 1.23 MB / 0.6462 GB, free: 20.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001273/0.6317, allocations: 197.6 kB / 0.6464 GB, free: 20.93 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/0.635, allocations: 244.2 kB / 0.6467 GB, free: 20.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003509/0.6354, allocations: 280 kB / 0.6469 GB, free: 20.8 MB / 462.1 MB 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.001885/0.6373, allocations: 1.387 MB / 0.6483 GB, free: 20.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000498/0.6378, allocations: 248.6 kB / 0.6485 GB, free: 19.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.6395, allocations: 1.244 MB / 0.6497 GB, free: 18.89 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.28e-05/0.6395, allocations: 19.28 kB / 0.6498 GB, free: 18.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.6396, allocations: 0 / 0.6498 GB, free: 18.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.6396, allocations: 3.984 kB / 0.6498 GB, free: 18.88 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006204/0.6458, allocations: 4.549 MB / 0.6542 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.6458, allocations: 7.984 kB / 0.6542 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.6474, allocations: 367.3 kB / 0.6546 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.6475, allocations: 8 kB / 0.6546 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.6475, allocations: 27.59 kB / 0.6546 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.6476, allocations: 11.98 kB / 0.6546 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.6476, allocations: 8.219 kB / 0.6546 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.6497, allocations: 2.169 MB / 0.6567 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005292/0.6502, allocations: 319.2 kB / 0.657 GB, free: 11.26 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.6504, allocations: 19.98 kB / 0.6571 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008263/0.6513, allocations: 55.94 kB / 0.6571 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/0.6514, allocations: 71.8 kB / 0.6572 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/0.6515, allocations: 44.03 kB / 0.6572 GB, free: 11.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002055/0.6536, allocations: 1.819 MB / 0.659 GB, free: 9.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6536, allocations: 0 / 0.659 GB, free: 9.246 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003598/0.6572, allocations: 0.613 MB / 0.6596 GB, free: 8.637 MB / 462.1 MB 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.0003638/0.6575, allocations: 158.9 kB / 0.6597 GB, free: 8.473 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.6619, allocations: 3.285 MB / 0.663 GB, free: 5.219 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.662, allocations: 4 kB / 0.663 GB, free: 5.215 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.6628, allocations: 0.7904 MB / 0.6637 GB, free: 4.426 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.6645, allocations: 278.2 kB / 0.664 GB, free: 4.164 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00899/0.6735, allocations: 5.627 MB / 0.6695 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/0.6762, allocations: 2.205 MB / 0.6716 GB, free: 12.21 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003925/0.6802, allocations: 1.455 MB / 0.6731 GB, free: 10.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008318/0.681, allocations: 179.4 kB / 0.6732 GB, free: 10.59 MB / 478.1 MB Notification: Performance of SimCode: time 2.184e-06/0.681, allocations: 3.938 kB / 0.6732 GB, free: 10.58 MB / 478.1 MB Notification: Performance of Templates: time 0.04846/0.7295, allocations: 19.58 MB / 0.6924 GB, free: 7.152 MB / 494.1 MB " [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.271572567522526]