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.001102/0.001102, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001289/0.001289, allocations: 169.2 kB / 24.84 MB, free: 9.297 MB / 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.9467/0.9467, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.1453/0.1453, allocations: 32.37 MB / 271.5 MB, free: 14.53 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.363e-06/1.363e-06, allocations: 0 / 348.9 MB, free: 9.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.644e-05, allocations: 4.281 kB / 348.9 MB, free: 9.215 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005098/0.005125, allocations: 7.179 MB / 356.1 MB, free: 2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.009696, allocations: 3.237 MB / 359.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.01047, allocations: 39.88 kB / 359.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.01179, allocations: 0.8364 MB / 360.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002519/0.01431, allocations: 1.412 MB / 361.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.01531, allocations: 0.5804 MB / 362.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003069/0.01838, allocations: 2.906 MB / 365.1 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.02081, allocations: 1.471 MB / 366.5 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.02342, allocations: 1.266 MB / 367.8 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.025, allocations: 1.305 MB / 369.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.02527, allocations: 140 kB / 369.2 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.02678, allocations: 0.8811 MB / 370.1 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008283/0.02761, allocations: 1.098 MB / 371.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007254/0.02833, allocations: 0.6617 MB / 371.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003378/0.03171, allocations: 2.868 MB / 374.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.03172, allocations: 0 / 374.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.03172, allocations: 0 / 374.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001246/0.03184, allocations: 0 / 374.8 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.004591/0.03644, allocations: 3.135 MB / 377.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.03648, allocations: 12.03 kB / 377.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003053/0.03954, allocations: 1.084 MB / 379 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.04142, allocations: 1.118 MB / 380.1 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/0.04151, allocations: 123.4 kB / 380.2 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.0418, allocations: 156.3 kB / 380.4 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004558/0.04636, allocations: 3.635 MB / 384 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-05/0.04642, allocations: 31.7 kB / 384 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.0466, allocations: 83.89 kB / 384.1 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001125/0.04772, allocations: 1.211 MB / 385.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.0509, allocations: 1.613 MB / 386.9 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02047/0.07137, allocations: 30.12 MB / 417.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.07291, allocations: 0.6996 MB / 417.8 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.07317, allocations: 219.2 kB / 418 MB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002648/0.07581, allocations: 2.358 MB / 420.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.07584, allocations: 41.39 kB / 420.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 4.298e-06/0.07585, allocations: 7.922 kB / 420.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.004254/0.0801, allocations: 1.801 MB / 422.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.08016, allocations: 144.4 kB / 422.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.08253, allocations: 2.587 MB / 424.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.08257, allocations: 41.7 kB / 425 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.0837, allocations: 2.425 MB / 427.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.08398, allocations: 397.2 kB / 427.8 MB, free: 8.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007646/0.08475, allocations: 0.9839 MB / 428.8 MB, free: 7.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.0849, allocations: 0.5354 MB / 429.3 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.08543, allocations: 364.5 kB / 429.6 MB, free: 6.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00311/0.08854, allocations: 4.807 MB / 434.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005046/0.09359, allocations: 5.687 MB / 440.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.718e-05/0.09368, allocations: 32 kB / 440.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.005236/0.09891, allocations: 3.508 MB / 443.7 MB, free: 4.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.306e-05/0.09898, allocations: 52 kB / 443.7 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.856e-05/0.09907, allocations: 104 kB / 443.8 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.09919, allocations: 143.9 kB / 444 MB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002208/0.1014, allocations: 1.006 MB / 445 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001276/0.1015, allocations: 207.2 kB / 445.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/0.1038, allocations: 200 kB / 445.4 MB, free: 2.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/0.104, allocations: 252 kB / 445.6 MB, free: 2.094 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.0008131/0.1048, allocations: 0.5313 MB / 446.2 MB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003386/0.1052, allocations: 242.5 kB / 446.4 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.1057, allocations: 377.9 kB / 446.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.1058, allocations: 15.94 kB / 446.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1058, allocations: 0 / 446.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.1058, allocations: 7.984 kB / 446.8 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1603/0.266, allocations: 2.437 MB / 449.2 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/0.2661, allocations: 9.75 kB / 449.2 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005814/0.2666, allocations: 110.2 kB / 449.3 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.2667, allocations: 5.656 kB / 449.3 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.2667, allocations: 20.5 kB / 449.4 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.316e-06/0.2667, allocations: 8.281 kB / 449.4 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.2667, allocations: 11.39 kB / 449.4 MB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.2682, allocations: 1.241 MB / 450.6 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006235/0.2688, allocations: 277.5 kB / 450.9 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/0.2691, allocations: 17.84 kB / 450.9 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007214/0.2698, allocations: 18.03 kB / 450.9 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.2699, allocations: 55.78 kB / 451 MB, free: 94.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.27, allocations: 30.19 kB / 451 MB, free: 94.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001532/0.2715, allocations: 1.022 MB / 452 MB, free: 94.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2715, allocations: 0 / 452 MB, free: 94.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00436/0.2759, allocations: 0.6393 MB / 452.7 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.0003715/0.2762, allocations: 178.1 kB / 452.8 MB, free: 94.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003122/0.2794, allocations: 1.737 MB / 454.6 MB, free: 93.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2794, allocations: 3.5 kB / 454.6 MB, free: 93.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.2797, allocations: 200.8 kB / 454.8 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.00106/0.2807, allocations: 246 kB / 455 MB, free: 93.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.2854, allocations: 4.381 MB / 459.4 MB, free: 91.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.2859, allocations: 0.7371 MB / 460.1 MB, free: 91.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000684/0.2866, allocations: 336.7 kB / 460.5 MB, free: 91.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.2869, allocations: 389 kB / 460.8 MB, free: 91.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2869, allocations: 0 / 460.8 MB, free: 91.72 MB / 378.7 MB Notification: Performance of Templates: time 0.02355/0.3105, allocations: 16.36 MB / 477.2 MB, free: 79.11 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: 4.188906239811331]