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.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.000856/0.000856, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003183/0.003183, allocations: 160.7 kB / 24.7 MB, free: 8.898 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.8647/0.8647, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.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.2379/0.2379, allocations: 32.79 MB / 294.2 MB, free: 1.211 MB / 266.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.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.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|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.1.|ActuatedRevolute1.frame_b.r_0.2.|ActuatedRevolute1.frame_b.r_0.3.|ActuatedRevolute1.frame_b.f.1.|ActuatedRevolute1.frame_b.f.2.|ActuatedRevolute1.frame_b.f.3.|ActuatedRevolute1.frame_b.t.1.|ActuatedRevolute1.frame_b.t.2.|ActuatedRevolute1.frame_b.t.3.|Multiplex3_1.y.1.|Multiplex3_1.y.2.|Multiplex3_1.y.3.|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 / 440.8 MB, free: 3.789 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.64e-05, allocations: 3.828 kB / 440.8 MB, free: 3.785 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.1739/0.1739, allocations: 6.688 MB / 447.5 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.177, allocations: 3.157 MB / 450.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003164/0.1774, allocations: 40.94 kB / 450.7 MB, free: 41.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000883/0.1782, allocations: 0.8159 MB / 451.5 MB, free: 41.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.1795, allocations: 1.375 MB / 452.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.1799, allocations: 0.5649 MB / 453.5 MB, free: 40.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001261/0.1812, allocations: 2.948 MB / 456.4 MB, free: 39.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007377/0.1819, allocations: 1.399 MB / 457.8 MB, free: 38.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006473/0.1826, allocations: 1.216 MB / 459 MB, free: 38.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007562/0.1833, allocations: 1.31 MB / 460.3 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.1835, allocations: 142.6 kB / 460.5 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006708/0.1841, allocations: 0.8758 MB / 461.3 MB, free: 37.92 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.1845, allocations: 1.077 MB / 462.4 MB, free: 37.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.1849, allocations: 0.6447 MB / 463.1 MB, free: 37.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.1868, allocations: 4.043 MB / 467.1 MB, free: 35.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.1868, allocations: 4 kB / 467.1 MB, free: 35.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1868, allocations: 3.031 kB / 467.1 MB, free: 35.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.1868, allocations: 0 / 467.1 MB, free: 35.76 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.002487/0.1893, allocations: 2.963 MB / 470.1 MB, free: 34.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.1893, allocations: 9.688 kB / 470.1 MB, free: 34.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002751/0.1921, allocations: 1.698 MB / 471.8 MB, free: 33.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.1933, allocations: 1.268 MB / 473 MB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.1934, allocations: 119.9 kB / 473.2 MB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.1936, allocations: 170.5 kB / 473.3 MB, free: 33.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/0.1985, allocations: 6.459 MB / 479.8 MB, free: 29.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.175e-05/0.1985, allocations: 33.02 kB / 479.8 MB, free: 29.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.1987, allocations: 87.89 kB / 479.9 MB, free: 29.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/0.2006, allocations: 1.439 MB / 481.3 MB, free: 29.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007538/0.2081, allocations: 5.717 MB / 487.1 MB, free: 27.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.2251, allocations: 25.32 MB / 0.5004 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/0.2278, allocations: 1.649 MB / 0.502 GB, free: 8.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009785/0.2288, allocations: 0.9645 MB / 0.5029 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.2289, allocations: 24.67 kB / 0.503 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.2289, allocations: 45.55 kB / 0.503 GB, free: 7.844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=100): time 4.138e-06/0.2289, allocations: 4 kB / 0.503 GB, free: 7.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.008977/0.2379, allocations: 6.76 MB / 0.5096 GB, free: 2.168 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.238, allocations: 141 kB / 0.5097 GB, free: 2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002424/0.2404, allocations: 2.736 MB / 0.5124 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.2405, allocations: 41.89 kB / 0.5125 GB, free: 15.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.2415, allocations: 2.197 MB / 0.5146 GB, free: 12.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.2417, allocations: 476.4 kB / 0.5151 GB, free: 12.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007782/0.2425, allocations: 0.8818 MB / 0.5159 GB, free: 11.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2426, allocations: 361.9 kB / 0.5163 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.2441, allocations: 1.426 MB / 0.5177 GB, free: 9.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003189/0.2473, allocations: 4.299 MB / 0.5218 GB, free: 4.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/0.2521, allocations: 6.209 MB / 0.5279 GB, free: 12.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.508e-05/0.2521, allocations: 28 kB / 0.5279 GB, free: 12.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=581) (initialization): time 0.00519/0.2573, allocations: 5.492 MB / 0.5333 GB, free: 6.887 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.2574, allocations: 52.22 kB / 0.5334 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.656e-05/0.2574, allocations: 100 kB / 0.5334 GB, free: 6.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.957e-05/0.2575, allocations: 136 kB / 0.5336 GB, free: 6.605 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/0.2596, allocations: 1.227 MB / 0.5348 GB, free: 5.379 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.632e-05/0.2597, allocations: 199.2 kB / 0.535 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.2612, allocations: 275.6 kB / 0.5352 GB, free: 4.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.2614, allocations: 280 kB / 0.5355 GB, free: 4.641 MB / 442.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 (557): * Single equations (assignments): 554 * 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.001739/0.2631, allocations: 1.391 MB / 0.5369 GB, free: 3.238 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.2634, allocations: 218.5 kB / 0.5371 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.2648, allocations: 1.208 MB / 0.5382 GB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.2648, allocations: 12 kB / 0.5383 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2648, allocations: 0 / 0.5383 GB, free: 1.797 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.2648, allocations: 7.984 kB / 0.5383 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/0.2695, allocations: 3.993 MB / 0.5422 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.2695, allocations: 4 kB / 0.5422 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/0.2703, allocations: 367.4 kB / 0.5425 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.2703, allocations: 12.47 kB / 0.5425 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.2704, allocations: 24 kB / 0.5426 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.2704, allocations: 15.94 kB / 0.5426 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.2704, allocations: 7.938 kB / 0.5426 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.2721, allocations: 2.121 MB / 0.5446 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.2723, allocations: 226.3 kB / 0.5449 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.2724, allocations: 19.98 kB / 0.5449 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.2729, allocations: 91.86 kB / 0.545 GB, free: 10.74 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.273, allocations: 71.77 kB / 0.545 GB, free: 10.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/0.2733, allocations: 42.31 kB / 0.5451 GB, free: 10.63 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001355/0.2746, allocations: 1.574 MB / 0.5466 GB, free: 9.043 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2746, allocations: 0 / 0.5466 GB, free: 9.043 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002222/0.2768, allocations: 0.66 MB / 0.5473 GB, free: 8.383 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.0003486/0.2772, allocations: 170.9 kB / 0.5474 GB, free: 8.207 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.2804, allocations: 3.159 MB / 0.5505 GB, free: 5.074 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.2804, allocations: 4 kB / 0.5505 GB, free: 5.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.2811, allocations: 0.7476 MB / 0.5512 GB, free: 4.324 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.2823, allocations: 235.4 kB / 0.5515 GB, free: 4.098 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007299/0.2896, allocations: 5.835 MB / 0.5572 GB, free: 14.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.2909, allocations: 1.635 MB / 0.5588 GB, free: 12.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/0.2914, allocations: 196.5 kB / 0.5589 GB, free: 12.29 MB / 474.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2914, allocations: 3.938 kB / 0.559 GB, free: 12.29 MB / 474.7 MB Notification: Performance of Templates: time 0.04156/0.3329, allocations: 37.82 MB / 0.5959 GB, free: 6.531 MB / 0.4948 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 7.077674698084593]