Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.001112/0.001112, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001242/0.001242, allocations: 161 kB / 24.56 MB, free: 12 kB / 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.966/0.966, allocations: 177.1 MB / 205 MB, free: 5.254 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.2942/0.2942, allocations: 32.8 MB / 294.3 MB, free: 1.168 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.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.2e-05, allocations: 6.25 kB / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.008685/0.008717, allocations: 8.412 MB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.01357, allocations: 2.262 MB / 386.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007676/0.01433, allocations: 47.88 kB / 386.7 MB, free: 9.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.01658, allocations: 1.651 MB / 388.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008613/0.01744, allocations: 0.5007 MB / 388.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.01768, allocations: 71.78 kB / 389 MB, free: 7.652 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001021/0.0187, allocations: 0.9562 MB / 389.9 MB, free: 6.691 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.0199, allocations: 1.229 MB / 391.1 MB, free: 5.438 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008146/0.02072, allocations: 0.8067 MB / 391.9 MB, free: 4.629 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007665/0.02148, allocations: 0.6387 MB / 392.6 MB, free: 3.988 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.02165, allocations: 120 kB / 392.7 MB, free: 3.871 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.02191, allocations: 139.9 kB / 392.8 MB, free: 3.734 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008217/0.02273, allocations: 0.7713 MB / 393.6 MB, free: 2.961 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.02323, allocations: 0.4945 MB / 394.1 MB, free: 2.465 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.02465, allocations: 1.431 MB / 395.5 MB, free: 1.027 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.02465, allocations: 4 kB / 395.5 MB, free: 1.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02465, allocations: 0 / 395.5 MB, free: 1.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.02469, allocations: 0 / 395.5 MB, free: 1.023 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002247/0.02694, allocations: 2.083 MB / 397.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.02699, allocations: 8.031 kB / 397.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/0.02751, allocations: 347.4 kB / 398 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.02834, allocations: 0.6372 MB / 398.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.203e-05/0.02842, allocations: 127.3 kB / 398.7 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.02857, allocations: 148.3 kB / 398.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.03127, allocations: 2.233 MB / 401.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.03131, allocations: 23.75 kB / 401.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.03142, allocations: 71.94 kB / 401.2 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006186/0.03204, allocations: 0.6189 MB / 401.8 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.03369, allocations: 0.8047 MB / 402.6 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.04371, allocations: 16.83 MB / 419.5 MB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.014e-05/0.0438, allocations: 265.4 kB / 419.7 MB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.04383, allocations: 126.9 kB / 419.8 MB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.04386, allocations: 123.2 kB / 420 MB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.0439, allocations: 156.6 kB / 420.1 MB, free: 7.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.04391, allocations: 4 kB / 420.1 MB, free: 7.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001548/0.04406, allocations: 140.8 kB / 420.3 MB, free: 7.191 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.04412, allocations: 170.6 kB / 420.4 MB, free: 7.012 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001383/0.0455, allocations: 1.361 MB / 421.8 MB, free: 5.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.04551, allocations: 25.7 kB / 421.8 MB, free: 5.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000958/0.04647, allocations: 1.504 MB / 423.3 MB, free: 4.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.04651, allocations: 43.95 kB / 423.4 MB, free: 4.047 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.04689, allocations: 456.8 kB / 423.8 MB, free: 3.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.04704, allocations: 0.5004 MB / 424.3 MB, free: 3.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.0473, allocations: 164 kB / 424.5 MB, free: 2.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.0489, allocations: 2.468 MB / 426.9 MB, free: 15.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.0515, allocations: 2.902 MB / 429.8 MB, free: 11.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.612e-05/0.05154, allocations: 16 kB / 429.8 MB, free: 11.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002618/0.05416, allocations: 1.807 MB / 431.7 MB, free: 9.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/0.0542, allocations: 36.03 kB / 431.7 MB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-05/0.05425, allocations: 56 kB / 431.7 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.586e-05/0.05432, allocations: 75.94 kB / 431.8 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009562/0.05527, allocations: 487.1 kB / 432.3 MB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.619e-05/0.05535, allocations: 115.5 kB / 432.4 MB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.0564, allocations: 301.8 kB / 432.7 MB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.05653, allocations: 136 kB / 432.8 MB, free: 8.324 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.0004309/0.05696, allocations: 486.4 kB / 433.3 MB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.0571, allocations: 260.1 kB / 433.6 MB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.05751, allocations: 230.2 kB / 433.8 MB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.611e-05/0.05759, allocations: 276 kB / 434.1 MB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-05/0.05766, allocations: 276 kB / 434.3 MB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.68e-05/0.05773, allocations: 264.1 kB / 434.6 MB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.05892, allocations: 1.293 MB / 435.9 MB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.895e-05/0.05896, allocations: 152.9 kB / 436 MB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.05899, allocations: 152.8 kB / 436.2 MB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.59e-05/0.05906, allocations: 272 kB / 436.4 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/0.05913, allocations: 264.1 kB / 436.7 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.859e-05/0.0592, allocations: 272 kB / 437 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.207e-05/0.05927, allocations: 268 kB / 437.2 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.05949, allocations: 0.5411 MB / 437.8 MB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.05964, allocations: 236.2 kB / 438 MB, free: 2.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.05979, allocations: 272 kB / 438.3 MB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.05998, allocations: 144.9 kB / 438.4 MB, free: 2.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.06006, allocations: 276 kB / 438.7 MB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.0601, allocations: 148.9 kB / 438.8 MB, free: 2.129 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000649/0.06075, allocations: 0.6133 MB / 439.4 MB, free: 1.512 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06075, allocations: 4 kB / 439.4 MB, free: 1.508 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0014/0.06215, allocations: 462.3 kB / 439.9 MB, free: 1.055 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001376/0.06229, allocations: 214.4 kB / 440.1 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006725/0.06296, allocations: 0.7565 MB / 440.9 MB, free: 84 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.06297, allocations: 0.875 kB / 440.9 MB, free: 84 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.06297, allocations: 3.938 kB / 440.9 MB, free: 80 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.06377, allocations: 0.8007 MB / 441.7 MB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.06619, allocations: 2.591 MB / 444.3 MB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.06649, allocations: 459.5 kB / 444.7 MB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005354/0.06702, allocations: 425.7 kB / 445.1 MB, free: 11.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.06709, allocations: 64.5 kB / 445.2 MB, free: 11.67 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/0.06709, allocations: 0 / 445.2 MB, free: 11.67 MB / 426.7 MB Notification: Performance of Templates: time 0.01177/0.07886, allocations: 6.325 MB / 451.5 MB, free: 5.48 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.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.445561491884291]