Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009721/0.0009721, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.0009949/0.0009949, allocations: 170.8 kB / 24.92 MB, free: 9.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9567/0.9567, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2668/0.2668, allocations: 34.26 MB / 296.1 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.941e-05, allocations: 5.484 kB / 325.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006672/0.006691, allocations: 7.147 MB / 332.4 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0043/0.01099, allocations: 3.348 MB / 335.7 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.01137, allocations: 43.81 kB / 335.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.01247, allocations: 0.8441 MB / 336.6 MB, free: 12.26 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.0142, allocations: 1.388 MB / 338 MB, free: 10.87 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.01495, allocations: 0.5767 MB / 338.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.01717, allocations: 2.958 MB / 341.5 MB, free: 7.328 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.01823, allocations: 1.5 MB / 343 MB, free: 5.805 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009235/0.01915, allocations: 1.243 MB / 344.3 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.02018, allocations: 1.227 MB / 345.5 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.02033, allocations: 140 kB / 345.6 MB, free: 3.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.02133, allocations: 0.8695 MB / 346.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005748/0.02191, allocations: 1.075 MB / 347.6 MB, free: 1.242 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004352/0.02234, allocations: 0.65 MB / 348.2 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.02431, allocations: 2.817 MB / 351 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.02432, allocations: 0 / 351 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02432, allocations: 0 / 351 MB, free: 13.76 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.02434, allocations: 0 / 351 MB, free: 13.76 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.002662/0.027, allocations: 2.688 MB / 353.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.02704, allocations: 12.03 kB / 353.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001925/0.02896, allocations: 0.8084 MB / 354.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000952/0.02991, allocations: 1.005 MB / 355.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.217e-05/0.02997, allocations: 119.4 kB / 355.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/0.03017, allocations: 160.2 kB / 355.8 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.03276, allocations: 3.176 MB / 359 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.0328, allocations: 35.69 kB / 359 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/0.03295, allocations: 87.89 kB / 359.1 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001142/0.03409, allocations: 1.218 MB / 360.3 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.03606, allocations: 1.63 MB / 362 MB, free: 2.215 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.04825, allocations: 21.4 MB / 383.4 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.04952, allocations: 0.7402 MB / 384.1 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.04972, allocations: 171.7 kB / 384.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001894/0.05161, allocations: 1.96 MB / 386.2 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.05163, allocations: 38.56 kB / 386.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 2.033e-06/0.05164, allocations: 0 / 386.3 MB, free: 8.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.002992/0.05463, allocations: 1.645 MB / 387.9 MB, free: 7.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.05468, allocations: 136.5 kB / 388 MB, free: 7.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/0.05624, allocations: 2.276 MB / 390.3 MB, free: 4.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.05628, allocations: 37.7 kB / 390.4 MB, free: 4.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007916/0.05707, allocations: 2.186 MB / 392.5 MB, free: 2.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.05724, allocations: 373.3 kB / 392.9 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005555/0.0578, allocations: 0.8421 MB / 393.7 MB, free: 1.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.05789, allocations: 357.8 kB / 394.1 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006496/0.05853, allocations: 0.5068 MB / 394.6 MB, free: 484 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.06042, allocations: 3.367 MB / 398 MB, free: 11.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.06302, allocations: 4.301 MB / 402.3 MB, free: 5.789 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.409e-05/0.06305, allocations: 28 kB / 402.3 MB, free: 5.762 MB / 378.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.0025/0.06555, allocations: 2.999 MB / 405.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.06559, allocations: 52 kB / 405.3 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-05/0.06564, allocations: 108.2 kB / 405.5 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.507e-05/0.06572, allocations: 147.9 kB / 405.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.06717, allocations: 1.002 MB / 406.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-05/0.06726, allocations: 211.2 kB / 406.8 MB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.06837, allocations: 199.7 kB / 407 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000188/0.06856, allocations: 256 kB / 407.3 MB, free: 0.8008 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.0006211/0.06918, allocations: 495.9 kB / 407.7 MB, free: 308 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.06933, allocations: 139.8 kB / 407.9 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.06968, allocations: 341.5 kB / 408.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.06969, allocations: 12 kB / 408.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.0697, allocations: 4 kB / 408.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.06971, allocations: 3.984 kB / 408.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.07167, allocations: 2.077 MB / 410.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.07167, allocations: 4 kB / 410.3 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.07193, allocations: 116.3 kB / 410.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.07194, allocations: 11.98 kB / 410.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.07196, allocations: 16 kB / 410.4 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.07197, allocations: 8 kB / 410.5 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.07197, allocations: 11.94 kB / 410.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005633/0.07253, allocations: 1.024 MB / 411.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.0727, allocations: 202.4 kB / 411.7 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.07282, allocations: 19.98 kB / 411.7 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.07315, allocations: 20 kB / 411.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.07321, allocations: 55.78 kB / 411.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.07324, allocations: 24 kB / 411.8 MB, free: 12.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006688/0.07391, allocations: 0.9116 MB / 412.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07391, allocations: 0 / 412.7 MB, free: 11.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001565/0.07547, allocations: 0.621 MB / 413.3 MB, free: 10.5 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.0002329/0.0757, allocations: 156 kB / 413.5 MB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.0771, allocations: 1.619 MB / 415.1 MB, free: 8.723 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-05/0.07718, allocations: 59.94 kB / 415.2 MB, free: 8.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.07734, allocations: 180.5 kB / 415.3 MB, free: 8.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/0.07819, allocations: 357.3 kB / 415.7 MB, free: 8.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.08196, allocations: 4.312 MB / 420 MB, free: 3.703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/0.0825, allocations: 0.7175 MB / 420.7 MB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006396/0.08314, allocations: 345.5 kB / 421.1 MB, free: 2.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003796/0.08352, allocations: 369.2 kB / 421.4 MB, free: 2.254 MB / 394.7 MB Notification: Performance of SimCode: time 8.92e-07/0.08352, allocations: 0 / 421.4 MB, free: 2.254 MB / 394.7 MB Notification: Performance of Templates: time 0.02329/0.1068, allocations: 15.61 MB / 437 MB, free: 2.824 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.476958903018385]