Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007329/0.0007329, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001162/0.001895, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006946/0.0006946, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.001883, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.928/0.928, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2148/1.143, allocations: 52.49 MB / 238.5 MB, free: 7.656 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1533/0.1533, allocations: 32.8 MB / 272 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02163/0.1749, allocations: 12.53 MB / 284.5 MB, free: 9.75 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.Rotational.TestMove") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 285.8 MB, free: 8.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.892e-05, allocations: 4.984 kB / 285.8 MB, free: 8.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.005964/0.005983, allocations: 7.26 MB / 293.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005514/0.0115, allocations: 3.359 MB / 296.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009101/0.01241, allocations: 39.81 kB / 296.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.0136, allocations: 0.8325 MB / 297.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.01639, allocations: 1.377 MB / 298.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009065/0.0173, allocations: 0.5298 MB / 299.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.0198, allocations: 2.773 MB / 302 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001411/0.02121, allocations: 1.254 MB / 303.2 MB, free: 6.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.02296, allocations: 1.297 MB / 304.5 MB, free: 5.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.02474, allocations: 1.22 MB / 305.8 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003441/0.02509, allocations: 140 kB / 305.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.02649, allocations: 0.9124 MB / 306.8 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006909/0.02718, allocations: 0.9856 MB / 307.8 MB, free: 2.402 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006583/0.02783, allocations: 0.545 MB / 308.3 MB, free: 1.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002654/0.03049, allocations: 2.65 MB / 311 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.0305, allocations: 0 / 311 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.0305, allocations: 0 / 311 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001153/0.03062, allocations: 4 kB / 311 MB, free: 15.19 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.004464/0.03508, allocations: 3.289 MB / 314.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.03511, allocations: 8.031 kB / 314.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.03728, allocations: 0.8006 MB / 315.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/0.03861, allocations: 1.009 MB / 316.1 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/0.03868, allocations: 123.4 kB / 316.2 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/0.03888, allocations: 164.2 kB / 316.4 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003525/0.04241, allocations: 3.183 MB / 319.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.287e-05/0.04246, allocations: 31.7 kB / 319.6 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.04261, allocations: 83.89 kB / 319.7 MB, free: 5.875 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001008/0.04362, allocations: 1.129 MB / 320.8 MB, free: 4.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.04638, allocations: 1.635 MB / 322.4 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1792/0.2256, allocations: 21.39 MB / 343.8 MB, free: 9.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.2271, allocations: 0.7243 MB / 344.6 MB, free: 8.898 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.2273, allocations: 171.3 kB / 344.7 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002214/0.2295, allocations: 1.937 MB / 346.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.2296, allocations: 47.34 kB / 346.7 MB, free: 7.984 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.395e-06/0.2296, allocations: 0.6562 kB / 346.7 MB, free: 7.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.003776/0.2333, allocations: 1.648 MB / 348.4 MB, free: 7.703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.2334, allocations: 141.1 kB / 348.5 MB, free: 7.547 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.2355, allocations: 2.287 MB / 350.8 MB, free: 7.152 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.2355, allocations: 36.27 kB / 350.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007326/0.2362, allocations: 2.175 MB / 353 MB, free: 5.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.2364, allocations: 383.8 kB / 353.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005345/0.2369, allocations: 0.8343 MB / 354.2 MB, free: 5.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.237, allocations: 361.5 kB / 354.5 MB, free: 4.988 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/0.2377, allocations: 0.5043 MB / 355.1 MB, free: 4.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.2389, allocations: 3.372 MB / 358.4 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.2426, allocations: 4.642 MB / 363.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.108e-05/0.2427, allocations: 28.78 kB / 363.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=575) (initialization): time 0.003666/0.2463, allocations: 3 MB / 366.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.2464, allocations: 53 kB / 366.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.422e-05/0.2465, allocations: 112.9 kB / 366.3 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.931e-05/0.2466, allocations: 144 kB / 366.4 MB, free: 9.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/0.2484, allocations: 1.111 MB / 367.5 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001259/0.2485, allocations: 207.2 kB / 367.7 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.2503, allocations: 214.5 kB / 367.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/0.2505, allocations: 248 kB / 368.2 MB, free: 8.18 MB / 330.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.0008745/0.2514, allocations: 491.7 kB / 368.6 MB, free: 7.688 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/0.2516, allocations: 127.9 kB / 368.8 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004641/0.2521, allocations: 365.9 kB / 369.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.2521, allocations: 8 kB / 369.1 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.2521, allocations: 0 / 369.1 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.2521, allocations: 3.984 kB / 369.1 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.2553, allocations: 2.081 MB / 371.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/0.2553, allocations: 8 kB / 371.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.2557, allocations: 128.3 kB / 371.4 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000312/0.256, allocations: 210.4 kB / 371.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.256, allocations: 8.562 kB / 371.6 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.093e-05/0.256, allocations: 16 kB / 371.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/0.256, allocations: 15.88 kB / 371.6 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2561, allocations: 4 kB / 371.6 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000863/0.2569, allocations: 1.02 MB / 372.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.257, allocations: 23.98 kB / 372.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.2574, allocations: 12 kB / 372.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.094e-05/0.2575, allocations: 59.8 kB / 372.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.2576, allocations: 25.17 kB / 372.7 MB, free: 3.555 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009352/0.2585, allocations: 0.9235 MB / 373.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2585, allocations: 0 / 373.7 MB, free: 2.613 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002959/0.2615, allocations: 0.6288 MB / 374.3 MB, free: 1.984 MB / 330.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.0004525/0.2619, allocations: 168 kB / 374.5 MB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002347/0.2643, allocations: 1.689 MB / 376.1 MB, free: 248 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001286/0.2644, allocations: 69.12 kB / 376.2 MB, free: 176 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000756/0.2651, allocations: 0.5242 MB / 376.7 MB, free: 15.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.267, allocations: 1.533 MB / 378.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007088/0.2741, allocations: 4.429 MB / 382.7 MB, free: 9.422 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.2748, allocations: 0.7099 MB / 383.4 MB, free: 8.684 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008256/0.2756, allocations: 339.1 kB / 383.7 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/0.2763, allocations: 349.3 kB / 384.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of SimCode: time 3.436e-06/0.2763, allocations: 0 / 384.1 MB, free: 8.004 MB / 346.7 MB Notification: Performance of Templates: time 0.02668/0.303, allocations: 14.36 MB / 398.4 MB, free: 9.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.26333140861243]