Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 80.98 kB / 20.65 MB, free: 3.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9823/0.9823, allocations: 158.6 MB / 185.9 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1788/0.1788, allocations: 32.38 MB / 270.7 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 348.1 MB, free: 9.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.182e-05, allocations: 6.25 kB / 348.1 MB, free: 9.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005803/0.005835, allocations: 7.175 MB / 355.3 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005119/0.01095, allocations: 3.24 MB / 358.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006873/0.01164, allocations: 39.81 kB / 358.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.01295, allocations: 0.8364 MB / 359.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.01514, allocations: 1.416 MB / 360.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.01596, allocations: 0.5765 MB / 361.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002074/0.01803, allocations: 2.904 MB / 364.3 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.01915, allocations: 1.471 MB / 365.7 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.02019, allocations: 1.263 MB / 367 MB, free: 6.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.02137, allocations: 1.301 MB / 368.3 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001942/0.02156, allocations: 144 kB / 368.5 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.02258, allocations: 0.8773 MB / 369.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006349/0.02321, allocations: 1.098 MB / 370.4 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005231/0.02374, allocations: 0.6617 MB / 371.1 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00236/0.0261, allocations: 2.868 MB / 374 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.0261, allocations: 0 / 374 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.0261, allocations: 0 / 374 MB, free: 15.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.413e-05/0.02614, allocations: 0 / 374 MB, free: 15.24 MB / 314.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.003053/0.02919, allocations: 3.143 MB / 377.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.02923, allocations: 12.03 kB / 377.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/0.03164, allocations: 1.095 MB / 378.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.03283, allocations: 1.11 MB / 379.3 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.0329, allocations: 119.4 kB / 379.4 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.03311, allocations: 160.2 kB / 379.6 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/0.0364, allocations: 3.623 MB / 383.2 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.849e-05/0.03646, allocations: 31.7 kB / 383.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/0.03663, allocations: 83.89 kB / 383.3 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001011/0.03764, allocations: 1.222 MB / 384.5 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.04002, allocations: 1.609 MB / 386.2 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.05616, allocations: 30.12 MB / 416.3 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.05748, allocations: 0.6956 MB / 417 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.05772, allocations: 215.1 kB / 417.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0022/0.05992, allocations: 2.369 MB / 419.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.05995, allocations: 45.38 kB / 419.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 2.736e-06/0.05995, allocations: 0 / 419.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.003587/0.06354, allocations: 1.805 MB / 421.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.0636, allocations: 140.5 kB / 421.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.06544, allocations: 2.587 MB / 424.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.06548, allocations: 37.7 kB / 424.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001089/0.06657, allocations: 2.422 MB / 426.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.06677, allocations: 401.2 kB / 427 MB, free: 8.094 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007485/0.06752, allocations: 0.9878 MB / 428 MB, free: 7.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.06769, allocations: 0.5315 MB / 428.5 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.06819, allocations: 372.4 kB / 428.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002869/0.07106, allocations: 4.807 MB / 433.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003821/0.07488, allocations: 5.681 MB / 439.4 MB, free: 7.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.694e-05/0.07491, allocations: 32 kB / 439.4 MB, free: 7.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003502/0.07842, allocations: 3.499 MB / 442.9 MB, free: 4.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.742e-05/0.07846, allocations: 56.03 kB / 442.9 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.536e-05/0.07854, allocations: 111.9 kB / 443 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-05/0.07862, allocations: 143.9 kB / 443.2 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.08014, allocations: 1.002 MB / 444.2 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001005/0.08024, allocations: 211.2 kB / 444.4 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.08161, allocations: 195.8 kB / 444.6 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.08181, allocations: 252 kB / 444.8 MB, free: 2.086 MB / 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.0005985/0.08241, allocations: 0.5391 MB / 445.4 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.08263, allocations: 238.5 kB / 445.6 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/0.08308, allocations: 381.9 kB / 446 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.08309, allocations: 11.94 kB / 446 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.0831, allocations: 4 kB / 446 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.08311, allocations: 3.984 kB / 446 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1629/0.246, allocations: 2.434 MB / 448.4 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.246, allocations: 5.812 kB / 448.4 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.2465, allocations: 112 kB / 448.5 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.2465, allocations: 8.875 kB / 448.6 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.2465, allocations: 20.44 kB / 448.6 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.2465, allocations: 12.5 kB / 448.6 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.2466, allocations: 8.938 kB / 448.6 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.2477, allocations: 1.245 MB / 449.8 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.2482, allocations: 270.5 kB / 450.1 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.2484, allocations: 25.47 kB / 450.1 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.249, allocations: 17.81 kB / 450.1 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.2491, allocations: 53.61 kB / 450.2 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.714e-05/0.2492, allocations: 31.3 kB / 450.2 MB, free: 94.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.2503, allocations: 1.027 MB / 451.3 MB, free: 94.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2503, allocations: 0 / 451.3 MB, free: 94.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002128/0.2524, allocations: 0.6377 MB / 451.9 MB, free: 94.13 MB / 378.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.0002208/0.2526, allocations: 171.5 kB / 452.1 MB, free: 94.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.2544, allocations: 1.729 MB / 453.8 MB, free: 93.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2544, allocations: 4.219 kB / 453.8 MB, free: 93.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.2546, allocations: 203.7 kB / 454 MB, free: 93.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008486/0.2555, allocations: 247.5 kB / 454.2 MB, free: 93.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.2594, allocations: 4.388 MB / 458.6 MB, free: 91.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.2598, allocations: 0.7324 MB / 459.4 MB, free: 91.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006461/0.2605, allocations: 336.9 kB / 459.7 MB, free: 91.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000368/0.2608, allocations: 389.5 kB / 460.1 MB, free: 91.72 MB / 378.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2608, allocations: 0 / 460.1 MB, free: 91.72 MB / 378.7 MB Notification: Performance of Templates: time 0.02326/0.2841, allocations: 16.01 MB / 476.1 MB, free: 79.41 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9320575622841716]