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.001986/0.001986, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002046/0.002046, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.558/1.558, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 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.3551/0.3551, allocations: 34.26 MB / 295.2 MB, free: 0.6367 MB / 266.7 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 2.044e-06/2.044e-06, allocations: 0 / 377.2 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.588e-05, allocations: 4.703 kB / 377.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01826/0.0183, allocations: 7.207 MB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01256/0.03086, allocations: 3.267 MB / 387.7 MB, free: 8.426 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001182/0.03204, allocations: 43.81 kB / 387.7 MB, free: 8.383 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003243/0.03528, allocations: 0.8481 MB / 388.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00623/0.04151, allocations: 1.373 MB / 389.9 MB, free: 6.152 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.04395, allocations: 0.5727 MB / 390.5 MB, free: 5.578 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006609/0.05056, allocations: 2.959 MB / 393.5 MB, free: 2.613 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.0537, allocations: 1.447 MB / 394.9 MB, free: 1.148 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002963/0.05666, allocations: 1.212 MB / 396.1 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.05909, allocations: 1.321 MB / 397.4 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003089/0.0594, allocations: 144 kB / 397.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.06112, allocations: 0.8733 MB / 398.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.0623, allocations: 1.083 MB / 399.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009123/0.06321, allocations: 0.65 MB / 400.2 MB, free: 11.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005417/0.06862, allocations: 4.045 MB / 404.2 MB, free: 7.797 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.06863, allocations: 0 / 404.2 MB, free: 7.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.06863, allocations: 4 kB / 404.2 MB, free: 7.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.471e-05/0.06868, allocations: 0 / 404.2 MB, free: 7.793 MB / 378.7 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.00688/0.07556, allocations: 3.507 MB / 407.7 MB, free: 4.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.07561, allocations: 12.03 kB / 407.7 MB, free: 4.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007333/0.08294, allocations: 2 MB / 409.7 MB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003527/0.08647, allocations: 1.183 MB / 410.9 MB, free: 1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000384/0.08685, allocations: 119.4 kB / 411 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004327/0.08728, allocations: 164.2 kB / 411.2 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009155/0.09644, allocations: 4.22 MB / 415.4 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.161e-05/0.09652, allocations: 35.7 kB / 415.5 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.0968, allocations: 83.89 kB / 415.5 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002986/0.09978, allocations: 1.437 MB / 417 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007843/0.1076, allocations: 2.409 MB / 419.4 MB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.211/0.3186, allocations: 33 MB / 452.4 MB, free: 72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.3219, allocations: 0.9744 MB / 453.4 MB, free: 71.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.3225, allocations: 353.5 kB / 453.7 MB, free: 71.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.3227, allocations: 23.58 kB / 453.7 MB, free: 71.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.3227, allocations: 48.19 kB / 453.8 MB, free: 71.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 2.815e-06/0.3227, allocations: 0 / 453.8 MB, free: 71.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01337/0.3361, allocations: 4.93 MB / 458.7 MB, free: 70.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.3361, allocations: 137.2 kB / 458.8 MB, free: 70.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.3394, allocations: 3.093 MB / 461.9 MB, free: 69.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.621e-05/0.3395, allocations: 43.14 kB / 462 MB, free: 69.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.3406, allocations: 2.463 MB / 464.4 MB, free: 67.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004016/0.341, allocations: 0.5065 MB / 464.9 MB, free: 67.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.3421, allocations: 1.128 MB / 466.1 MB, free: 66.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3422, allocations: 0.5493 MB / 466.6 MB, free: 66.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.3433, allocations: 0.5057 MB / 467.1 MB, free: 66.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.3458, allocations: 4.904 MB / 472 MB, free: 60.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006004/0.3518, allocations: 5.953 MB / 478 MB, free: 53.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001402/0.3519, allocations: 29.22 kB / 478 MB, free: 53.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.01124/0.3632, allocations: 3.9 MB / 481.9 MB, free: 52.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.3633, allocations: 49.97 kB / 482 MB, free: 52.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/0.3634, allocations: 101.7 kB / 482.1 MB, free: 52.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.3636, allocations: 134.5 kB / 482.2 MB, free: 52.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006022/0.3696, allocations: 1.231 MB / 483.4 MB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002331/0.3699, allocations: 204.6 kB / 483.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00587/0.3757, allocations: 274.2 kB / 483.9 MB, free: 52.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/0.377, allocations: 287.3 kB / 484.2 MB, free: 52.18 MB / 410.7 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.001956/0.379, allocations: 0.5896 MB / 484.8 MB, free: 51.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008789/0.3799, allocations: 252.3 kB / 485 MB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.3817, allocations: 0.6587 MB / 485.7 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/0.3818, allocations: 13.31 kB / 485.7 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.3818, allocations: 5.219 kB / 485.7 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.3818, allocations: 8.016 kB / 485.7 MB, free: 51.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.3931, allocations: 3.845 MB / 489.5 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/0.3931, allocations: 5.031 kB / 489.5 MB, free: 49.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/0.3959, allocations: 377.3 kB / 489.9 MB, free: 49.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.133e-05/0.3959, allocations: 7.406 kB / 489.9 MB, free: 49.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.396, allocations: 26.47 kB / 489.9 MB, free: 49.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.879e-05/0.3961, allocations: 7.875 kB / 490 MB, free: 49.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/0.3961, allocations: 9.656 kB / 490 MB, free: 49.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.3989, allocations: 1.561 MB / 491.5 MB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000751/0.3997, allocations: 215.2 kB / 491.7 MB, free: 48.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/0.4, allocations: 32.14 kB / 491.8 MB, free: 48.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.4016, allocations: 89.06 kB / 491.9 MB, free: 48.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/0.4019, allocations: 71.56 kB / 491.9 MB, free: 48.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.402, allocations: 32.31 kB / 492 MB, free: 48.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003003/0.405, allocations: 1.25 MB / 493.2 MB, free: 47.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.405, allocations: 1.281 kB / 493.2 MB, free: 47.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006054/0.411, allocations: 0.6654 MB / 493.9 MB, free: 47.54 MB / 410.7 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.0005975/0.4116, allocations: 181.1 kB / 494 MB, free: 47.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006316/0.418, allocations: 2.158 MB / 496.2 MB, free: 46.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.251e-05/0.418, allocations: 2.281 kB / 496.2 MB, free: 46.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4191, allocations: 358.7 kB / 496.6 MB, free: 46.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.4219, allocations: 241.1 kB / 496.8 MB, free: 46.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009224/0.4311, allocations: 4.603 MB / 0.4896 GB, free: 44.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/0.4329, allocations: 1.474 MB / 0.4911 GB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004331/0.4373, allocations: 1.222 MB / 0.4923 GB, free: 43.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007565/0.438, allocations: 166.5 kB / 0.4924 GB, free: 43.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.054e-06/0.438, allocations: 0 / 0.4924 GB, free: 43.45 MB / 410.7 MB Notification: Performance of Templates: time 0.03607/0.4741, allocations: 18.01 MB / 0.51 GB, free: 32.08 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_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.291806930094026]