Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008917/0.0008917, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008491/0.0008491, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8793/0.8793, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 34.24 MB / 294.8 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 442.1 MB, free: 1.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.244e-05/1.39e-05, allocations: 9.094 kB / 442.1 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.1687/0.1687, allocations: 6.677 MB / 448.8 MB, free: 40.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.1718, allocations: 3.172 MB / 452 MB, free: 39.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.1721, allocations: 45.81 kB / 452 MB, free: 38.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009809/0.1731, allocations: 0.8148 MB / 452.8 MB, free: 38.65 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.1744, allocations: 1.363 MB / 454.2 MB, free: 38.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.1748, allocations: 0.5748 MB / 454.8 MB, free: 37.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1761, allocations: 2.946 MB / 457.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007515/0.1768, allocations: 1.399 MB / 459.1 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006396/0.1775, allocations: 1.213 MB / 460.3 MB, free: 35.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007284/0.1782, allocations: 1.312 MB / 461.6 MB, free: 35.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.1783, allocations: 147.5 kB / 461.8 MB, free: 35.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006358/0.179, allocations: 0.8692 MB / 462.7 MB, free: 35.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003844/0.1794, allocations: 1.075 MB / 463.7 MB, free: 34.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.1797, allocations: 0.6479 MB / 464.4 MB, free: 34.51 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.1815, allocations: 4.049 MB / 468.4 MB, free: 33.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1815, allocations: 0 / 468.4 MB, free: 33.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1815, allocations: 4 kB / 468.4 MB, free: 33.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.1816, allocations: 0 / 468.4 MB, free: 33.11 MB / 410.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.002728/0.1843, allocations: 2.979 MB / 471.4 MB, free: 31.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1843, allocations: 9.062 kB / 471.4 MB, free: 31.38 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002967/0.1846, allocations: 463.5 kB / 471.9 MB, free: 31.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.1875, allocations: 1.748 MB / 473.6 MB, free: 30.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.1887, allocations: 1.338 MB / 475 MB, free: 30.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.1888, allocations: 119.8 kB / 475.1 MB, free: 30.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.189, allocations: 163 kB / 475.2 MB, free: 30.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005056/0.194, allocations: 6.483 MB / 481.7 MB, free: 26.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.104e-05/0.1941, allocations: 43.48 kB / 481.8 MB, free: 26.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/0.1942, allocations: 80.86 kB / 481.8 MB, free: 26.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001649/0.1959, allocations: 1.435 MB / 483.3 MB, free: 26.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006532/0.2024, allocations: 5.732 MB / 489 MB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01566/0.2181, allocations: 25.9 MB / 0.5028 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.2203, allocations: 1.651 MB / 0.5045 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007303/0.2211, allocations: 0.9565 MB / 0.5054 GB, free: 4.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.229e-05/0.2211, allocations: 32.25 kB / 0.5054 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.2212, allocations: 46.89 kB / 0.5055 GB, free: 4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 3.126e-06/0.2212, allocations: 0 / 0.5055 GB, free: 4 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.008529/0.2297, allocations: 6.791 MB / 0.5121 GB, free: 13.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.2297, allocations: 149 kB / 0.5122 GB, free: 13.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/0.2326, allocations: 3.216 MB / 0.5154 GB, free: 9.785 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.2326, allocations: 45.64 kB / 0.5154 GB, free: 9.734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009074/0.2336, allocations: 2.167 MB / 0.5175 GB, free: 7.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.2338, allocations: 468.5 kB / 0.518 GB, free: 7.086 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007199/0.2345, allocations: 0.8855 MB / 0.5188 GB, free: 6.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.2346, allocations: 309 kB / 0.5191 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.236, allocations: 1.426 MB / 0.5205 GB, free: 4.449 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002734/0.2388, allocations: 4.299 MB / 0.5247 GB, free: 14.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004306/0.2431, allocations: 6.211 MB / 0.5308 GB, free: 7.055 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-05/0.2431, allocations: 28 kB / 0.5308 GB, free: 7.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.005114/0.2482, allocations: 5.509 MB / 0.5362 GB, free: 1.512 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.2483, allocations: 52.06 kB / 0.5363 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.526e-05/0.2483, allocations: 104.3 kB / 0.5364 GB, free: 1.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.101e-05/0.2484, allocations: 132 kB / 0.5365 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.2504, allocations: 1.232 MB / 0.5377 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.69e-05/0.2505, allocations: 203.1 kB / 0.5379 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.252, allocations: 295.5 kB / 0.5382 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002237/0.2523, allocations: 283.9 kB / 0.5384 GB, free: 15.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * 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.001332/0.2536, allocations: 1.381 MB / 0.5398 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002264/0.2538, allocations: 253.4 kB / 0.54 GB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.2553, allocations: 1.247 MB / 0.5412 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.2554, allocations: 12 kB / 0.5412 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2554, allocations: 4 kB / 0.5413 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.2554, allocations: 3.984 kB / 0.5413 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004782/0.2602, allocations: 4.41 MB / 0.5456 GB, free: 7.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2602, allocations: 4 kB / 0.5456 GB, free: 7.801 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008617/0.261, allocations: 363.3 kB / 0.5459 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.261, allocations: 12.53 kB / 0.5459 GB, free: 7.434 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.2611, allocations: 27.98 kB / 0.546 GB, free: 7.406 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.2611, allocations: 11.98 kB / 0.546 GB, free: 7.395 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.2611, allocations: 11.94 kB / 0.546 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.2629, allocations: 2.152 MB / 0.5481 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002697/0.2632, allocations: 270.2 kB / 0.5483 GB, free: 4.891 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.2633, allocations: 16 kB / 0.5483 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.2639, allocations: 103.8 kB / 0.5484 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/0.264, allocations: 75.7 kB / 0.5485 GB, free: 4.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.223e-05/0.264, allocations: 40 kB / 0.5486 GB, free: 4.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001632/0.2657, allocations: 1.94 MB / 0.5505 GB, free: 2.715 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2657, allocations: 0 / 0.5505 GB, free: 2.715 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001925/0.2676, allocations: 0.6756 MB / 0.5511 GB, free: 2.039 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * 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.002113/0.2697, allocations: 2.804 MB / 0.5539 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003202/0.2729, allocations: 3.154 MB / 0.5569 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2729, allocations: 0 / 0.5569 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.2735, allocations: 0.7452 MB / 0.5577 GB, free: 11.29 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.2746, allocations: 271.7 kB / 0.5579 GB, free: 11.03 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02461/0.2992, allocations: 30.17 MB / 0.5874 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.3004, allocations: 1.636 MB / 0.589 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001776/0.3022, allocations: 1.477 MB / 0.5904 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009451/0.3031, allocations: 1.082 MB / 0.5915 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.202e-06/0.3031, allocations: 0 / 0.5915 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0575/0.3606, allocations: 42.78 MB / 0.6333 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.594/8.954, allocations: 3.125 kB / 0.6333 GB, free: 10.23 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.199777946807444]