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.0008006/0.0008006, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001912, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008286/0.0008286, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001889, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9745/0.9745, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08721/1.062, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2887/0.2887, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02765/0.3164, allocations: 13.1 MB / 291.3 MB, free: 7.367 MB / 282.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.653e-06/1.653e-06, allocations: 0 / 292.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.123e-05, allocations: 2.312 kB / 292.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.006551/0.006582, allocations: 7.243 MB / 299.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004127/0.01071, allocations: 3.375 MB / 303.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/0.01112, allocations: 39.81 kB / 303.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.0121, allocations: 0.8363 MB / 304.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.01369, allocations: 1.353 MB / 305.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006285/0.01432, allocations: 0.5221 MB / 306 MB, free: 8.887 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.01618, allocations: 2.878 MB / 308.8 MB, free: 6.004 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009625/0.01714, allocations: 1.254 MB / 310.1 MB, free: 4.727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009798/0.01812, allocations: 1.289 MB / 311.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009929/0.01911, allocations: 1.22 MB / 312.6 MB, free: 2.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.0193, allocations: 140 kB / 312.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009416/0.02024, allocations: 0.9047 MB / 313.6 MB, free: 1.164 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005479/0.02079, allocations: 0.966 MB / 314.6 MB, free: 200 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/0.02125, allocations: 0.5334 MB / 315.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.0238, allocations: 2.603 MB / 317.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.742e-05/0.02382, allocations: 3.938 kB / 317.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.02382, allocations: 0 / 317.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.782e-05/0.0239, allocations: 0 / 317.8 MB, free: 13.04 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.003256/0.02715, allocations: 3.271 MB / 321 MB, free: 9.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.02719, allocations: 12.02 kB / 321 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.02922, allocations: 0.7967 MB / 321.8 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.03035, allocations: 0.9969 MB / 322.8 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.03042, allocations: 123.4 kB / 323 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.03061, allocations: 156.3 kB / 323.1 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00291/0.03352, allocations: 3.183 MB / 326.3 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.03356, allocations: 31.7 kB / 326.3 MB, free: 3.848 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.0337, allocations: 87.89 kB / 326.4 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001011/0.03472, allocations: 1.218 MB / 327.6 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002344/0.03706, allocations: 1.631 MB / 329.3 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.05221, allocations: 21.39 MB / 350.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.05368, allocations: 0.7315 MB / 351.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002418/0.05392, allocations: 166 kB / 351.5 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002498/0.05641, allocations: 1.948 MB / 353.5 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.268e-05/0.05649, allocations: 46.55 kB / 353.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of pre-optimization done (n=79): time 3.868e-06/0.05649, allocations: 0 / 353.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=86): time 0.00382/0.06031, allocations: 1.624 MB / 355.2 MB, free: 6.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.06036, allocations: 136.5 kB / 355.3 MB, free: 5.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.06229, allocations: 2.283 MB / 357.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.06233, allocations: 33.7 kB / 357.6 MB, free: 3.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008547/0.06318, allocations: 2.17 MB / 359.8 MB, free: 1.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/0.06371, allocations: 389.2 kB / 360.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005653/0.06427, allocations: 0.8344 MB / 361 MB, free: 92 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.06438, allocations: 361.8 kB / 361.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006603/0.06504, allocations: 0.5029 MB / 361.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.06688, allocations: 3.375 MB / 365.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/0.07005, allocations: 4.287 MB / 369.5 MB, free: 4.539 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.624e-05/0.07009, allocations: 32 kB / 369.5 MB, free: 4.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.004031/0.07412, allocations: 2.996 MB / 372.5 MB, free: 1.504 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.07418, allocations: 56.25 kB / 372.6 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.508e-05/0.07424, allocations: 104 kB / 372.7 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.333e-05/0.07432, allocations: 143.9 kB / 372.8 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.07615, allocations: 1.115 MB / 374 MB, free: 92 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001175/0.07627, allocations: 207.3 kB / 374.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.07795, allocations: 195.8 kB / 374.3 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/0.07819, allocations: 256 kB / 374.6 MB, free: 15.44 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.0008659/0.07906, allocations: 496 kB / 375.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/0.07941, allocations: 132 kB / 375.2 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.07999, allocations: 358.1 kB / 375.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.257e-05/0.08001, allocations: 12 kB / 375.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.08002, allocations: 0 / 375.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.08003, allocations: 3.984 kB / 375.6 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/0.08321, allocations: 2.07 MB / 377.6 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.08322, allocations: 8.5 kB / 377.7 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.08356, allocations: 127.8 kB / 377.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000381/0.08394, allocations: 210.4 kB / 378 MB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.08395, allocations: 4 kB / 378 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.08399, allocations: 20 kB / 378 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/0.084, allocations: 11.92 kB / 378 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.084, allocations: 11.94 kB / 378 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.08512, allocations: 1.024 MB / 379.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.08529, allocations: 20 kB / 379.1 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.08569, allocations: 16 kB / 379.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.08575, allocations: 51.8 kB / 379.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.0858, allocations: 31.98 kB / 379.2 MB, free: 10.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008266/0.08662, allocations: 0.9077 MB / 380.1 MB, free: 9.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08662, allocations: 0 / 380.1 MB, free: 9.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002676/0.0893, allocations: 0.621 MB / 380.7 MB, free: 9.125 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.0003287/0.08963, allocations: 152 kB / 380.8 MB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002051/0.09168, allocations: 1.626 MB / 382.5 MB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001201/0.0918, allocations: 67.98 kB / 382.5 MB, free: 7.281 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.092, allocations: 178.3 kB / 382.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.09328, allocations: 0.4906 MB / 383.2 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007178/0.1005, allocations: 4.417 MB / 387.6 MB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.1011, allocations: 0.7176 MB / 388.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008465/0.102, allocations: 337.6 kB / 388.7 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/0.1024, allocations: 361.2 kB / 389 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of SimCode: time 3.717e-06/0.1024, allocations: 4 kB / 389 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of Templates: time 0.02679/0.1292, allocations: 15.93 MB / 404.9 MB, free: 0.8984 MB / 394.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 -ignoreHideResult -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.5702567817643285]