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.001035/0.001035, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001074/0.001074, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 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 0.9799/0.9799, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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.2399/0.2399, allocations: 34.86 MB / 296.6 MB, free: 456 kB / 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.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|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.[0-9,]+.|ActuatedRevolute1.frame_b.f.[0-9,]+.|ActuatedRevolute1.frame_b.t.[0-9,]+.|Multiplex3_1.y.[0-9,]+.|Constant1.y|Constant2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 325.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.013e-05, allocations: 4.984 kB / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005626/0.005647, allocations: 7.139 MB / 333 MB, free: 8 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004443/0.01009, allocations: 3.353 MB / 336.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.01048, allocations: 39.88 kB / 336.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.01157, allocations: 0.8441 MB / 337.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.01327, allocations: 1.387 MB / 338.6 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.01404, allocations: 0.5727 MB / 339.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.01606, allocations: 2.964 MB / 342.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.01712, allocations: 1.504 MB / 343.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000953/0.01807, allocations: 1.235 MB / 344.9 MB, free: 4.062 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.0191, allocations: 1.243 MB / 346.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.01927, allocations: 144 kB / 346.3 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008366/0.02011, allocations: 0.8578 MB / 347.2 MB, free: 1.816 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006296/0.02074, allocations: 1.075 MB / 348.2 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.0212, allocations: 0.65 MB / 348.9 MB, free: 88 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.02327, allocations: 2.809 MB / 351.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.02328, allocations: 7.938 kB / 351.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.02328, allocations: 0 / 351.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.915e-05/0.02331, allocations: 0 / 351.7 MB, free: 13.26 MB / 330.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.002737/0.02604, allocations: 2.692 MB / 354.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.02607, allocations: 8.031 kB / 354.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.02811, allocations: 0.8045 MB / 355.2 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.02917, allocations: 1.005 MB / 356.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.196e-05/0.02923, allocations: 123.4 kB / 356.3 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.02943, allocations: 164.2 kB / 356.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.03219, allocations: 3.179 MB / 359.7 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.03223, allocations: 35.64 kB / 359.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.03238, allocations: 83.89 kB / 359.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001022/0.0334, allocations: 1.199 MB / 361 MB, free: 3.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.03558, allocations: 1.636 MB / 362.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.04759, allocations: 21.4 MB / 384 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.04884, allocations: 0.7452 MB / 384.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.04904, allocations: 176.2 kB / 384.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002202/0.05124, allocations: 1.952 MB / 386.9 MB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.05126, allocations: 46.56 kB / 386.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 2.455e-06/0.05127, allocations: 0 / 386.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.003131/0.0544, allocations: 1.645 MB / 388.6 MB, free: 6.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.05446, allocations: 140.5 kB / 388.7 MB, free: 6.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.05593, allocations: 2.276 MB / 391 MB, free: 4.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.05597, allocations: 37.7 kB / 391 MB, free: 4.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008474/0.05682, allocations: 2.166 MB / 393.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.05701, allocations: 389.2 kB / 393.6 MB, free: 1.691 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008724/0.05788, allocations: 0.8305 MB / 394.4 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.05797, allocations: 361.8 kB / 394.8 MB, free: 500 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006827/0.05865, allocations: 0.499 MB / 395.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.06047, allocations: 3.378 MB / 398.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/0.06347, allocations: 4.296 MB / 402.9 MB, free: 5.293 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.859e-05/0.06351, allocations: 32 kB / 403 MB, free: 5.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.002979/0.06649, allocations: 2.99 MB / 406 MB, free: 2.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.06653, allocations: 55.94 kB / 406 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.327e-05/0.0666, allocations: 108 kB / 406.1 MB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.786e-05/0.06667, allocations: 136.1 kB / 406.3 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.06819, allocations: 1.014 MB / 407.3 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.755e-05/0.06828, allocations: 211.2 kB / 407.5 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.0695, allocations: 207.7 kB / 407.7 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.06969, allocations: 252 kB / 407.9 MB, free: 304 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 486 * Number of states: 0 () * Number of discrete variables: 18 (Body1.sphereColor[1],Body1.sphereColor[2],Body1.sphereColor[3],ActuatedRevolute1.cylinderColor[1],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (551): * Single equations (assignments): 548 * 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.00055/0.07024, allocations: 496.1 kB / 408.4 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.07041, allocations: 123.9 kB / 408.5 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.07078, allocations: 357.3 kB / 408.9 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.07079, allocations: 12 kB / 408.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.0708, allocations: 4 kB / 408.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.07081, allocations: 3.984 kB / 408.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.07303, allocations: 2.073 MB / 411 MB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.07304, allocations: 8 kB / 411 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.07329, allocations: 107.8 kB / 411.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.0733, allocations: 8 kB / 411.1 MB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.07332, allocations: 19.98 kB / 411.1 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.07333, allocations: 12.41 kB / 411.1 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.07333, allocations: 8 kB / 411.1 MB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.07394, allocations: 1.028 MB / 412.2 MB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.07437, allocations: 206.4 kB / 412.4 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.0745, allocations: 16 kB / 412.4 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.07484, allocations: 19.98 kB / 412.4 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.07489, allocations: 55.8 kB / 412.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.07493, allocations: 24 kB / 412.5 MB, free: 11.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006875/0.07561, allocations: 0.9077 MB / 413.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.07561, allocations: 4 kB / 413.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00162/0.07723, allocations: 0.6171 MB / 414 MB, free: 10 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (64): * Single equations (assignments): 61 * 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.0002475/0.07748, allocations: 155.8 kB / 414.2 MB, free: 9.844 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.07877, allocations: 1.619 MB / 415.8 MB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.517e-05/0.07886, allocations: 59.94 kB / 415.8 MB, free: 8.172 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.07902, allocations: 185.8 kB / 416 MB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008818/0.07991, allocations: 348.3 kB / 416.4 MB, free: 7.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.08415, allocations: 4.316 MB / 420.7 MB, free: 3.207 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.08469, allocations: 0.7253 MB / 421.4 MB, free: 2.453 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006455/0.08534, allocations: 341.3 kB / 421.7 MB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.08577, allocations: 361.3 kB / 422.1 MB, free: 1.762 MB / 394.7 MB Notification: Performance of SimCode: time 9.22e-07/0.08577, allocations: 0 / 422.1 MB, free: 1.762 MB / 394.7 MB Notification: Performance of Templates: time 0.02334/0.1091, allocations: 15.62 MB / 437.7 MB, free: 2.363 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.56585526606068]