Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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.001365/0.001365, allocations: 119.5 kB / 18.45 MB, free: 4.613 MB / 14.72 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.001393/0.001393, allocations: 205.8 kB / 21.4 MB, free: 1.66 MB / 14.72 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 1.498/1.498, allocations: 227.4 MB / 251.7 MB, free: 268 kB / 190.1 MB " [Timeout remaining time 178] 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.2363/0.2363, allocations: 46.16 MB / 351.1 MB, free: 14.32 MB / 286.1 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: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 85.19 kB / 490.2 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1314, allocations: 62.45 MB / 0.5397 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01135/0.1428, allocations: 8.702 MB / 0.5482 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.1478, allocations: 2.285 MB / 0.5504 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.1488, allocations: 43.94 kB / 0.5504 GB, free: 9.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00312/0.1519, allocations: 1.53 MB / 0.5519 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.1532, allocations: 477.3 kB / 0.5524 GB, free: 7.176 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1535, allocations: 75.84 kB / 0.5525 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001181/0.1547, allocations: 0.9293 MB / 0.5534 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.1564, allocations: 1.498 MB / 0.5548 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006452/0.1571, allocations: 0.5332 MB / 0.5554 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008603/0.1579, allocations: 0.6772 MB / 0.556 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.1581, allocations: 120 kB / 0.5561 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.1585, allocations: 124 kB / 0.5562 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006882/0.1592, allocations: 0.7285 MB / 0.557 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007836/0.16, allocations: 0.8502 MB / 0.5578 GB, free: 1.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002438/0.1624, allocations: 2.333 MB / 0.5601 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1624, allocations: 0 / 0.5601 GB, free: 15.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1624, allocations: 0 / 0.5601 GB, free: 15.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.37e-05/0.1625, allocations: 4 kB / 0.5601 GB, free: 15.26 MB / 430.1 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.00317/0.1657, allocations: 1.991 MB / 0.562 GB, free: 13.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.1657, allocations: 12.03 kB / 0.562 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006608/0.1664, allocations: 223.4 kB / 0.5622 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.1675, allocations: 0.7229 MB / 0.5629 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.1677, allocations: 119.4 kB / 0.5631 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.1679, allocations: 152.1 kB / 0.5632 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004459/0.1723, allocations: 3.383 MB / 0.5665 GB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.429e-05/0.1724, allocations: 15.88 kB / 0.5665 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.1725, allocations: 75.94 kB / 0.5666 GB, free: 8.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007892/0.1733, allocations: 0.611 MB / 0.5672 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/0.1764, allocations: 1.854 MB / 0.569 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01336/0.1897, allocations: 13.52 MB / 0.5822 GB, free: 7.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1899, allocations: 169.1 kB / 0.5824 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.1899, allocations: 88.14 kB / 0.5825 GB, free: 7.465 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.19, allocations: 83.22 kB / 0.5825 GB, free: 7.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.1901, allocations: 105.8 kB / 0.5826 GB, free: 7.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.144e-06/0.1901, allocations: 0 / 0.5826 GB, free: 7.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000281/0.1903, allocations: 164.8 kB / 0.5828 GB, free: 7.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.723e-05/0.1904, allocations: 126.7 kB / 0.5829 GB, free: 6.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.1925, allocations: 1.643 MB / 0.5845 GB, free: 5.312 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1925, allocations: 25.7 kB / 0.5845 GB, free: 5.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.1935, allocations: 1.427 MB / 0.5859 GB, free: 3.836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/0.1936, allocations: 43.95 kB / 0.586 GB, free: 3.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.194, allocations: 431.1 kB / 0.5864 GB, free: 3.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1942, allocations: 357.9 kB / 0.5867 GB, free: 3.008 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.1948, allocations: 371.8 kB / 0.5871 GB, free: 2.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/0.1966, allocations: 1.921 MB / 0.589 GB, free: 15.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.1995, allocations: 2.515 MB / 0.5914 GB, free: 12.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/0.1995, allocations: 16 kB / 0.5914 GB, free: 12.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003124/0.2026, allocations: 2.12 MB / 0.5935 GB, free: 10.45 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/0.2027, allocations: 32 kB / 0.5935 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.357e-05/0.2028, allocations: 60.12 kB / 0.5936 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.555e-05/0.2029, allocations: 72 kB / 0.5937 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.204, allocations: 487.1 kB / 0.5941 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.216e-05/0.2041, allocations: 111.6 kB / 0.5942 GB, free: 9.699 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.2054, allocations: 325.5 kB / 0.5945 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.2056, allocations: 148 kB / 0.5947 GB, free: 9.234 MB / 462.1 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.001263/0.2068, allocations: 0.8705 MB / 0.5955 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.2071, allocations: 236.1 kB / 0.5958 GB, free: 8.113 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.2073, allocations: 232.2 kB / 0.596 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.993e-05/0.2074, allocations: 176.3 kB / 0.5961 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001521/0.2075, allocations: 180.3 kB / 0.5963 GB, free: 7.512 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-05/0.2076, allocations: 188.2 kB / 0.5965 GB, free: 7.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001878/0.2095, allocations: 1.473 MB / 0.5979 GB, free: 5.789 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-05/0.2096, allocations: 108.9 kB / 0.598 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.2096, allocations: 101 kB / 0.5981 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.2098, allocations: 176.3 kB / 0.5983 GB, free: 5.391 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.2099, allocations: 184.2 kB / 0.5985 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001079/0.2101, allocations: 192.2 kB / 0.5987 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001043/0.2102, allocations: 180.2 kB / 0.5988 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004273/0.2106, allocations: 430 kB / 0.5992 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003976/0.211, allocations: 305.2 kB / 0.5995 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.2112, allocations: 180.3 kB / 0.5997 GB, free: 3.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.2116, allocations: 116.9 kB / 0.5998 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.2117, allocations: 180.2 kB / 0.6 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/0.2118, allocations: 104.9 kB / 0.6001 GB, free: 3.457 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001481/0.2133, allocations: 1.014 MB / 0.6011 GB, free: 2.445 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.2133, allocations: 0 / 0.6011 GB, free: 2.445 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00153/0.2148, allocations: 430.7 kB / 0.6015 GB, free: 2.023 MB / 462.1 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.0001923/0.2151, allocations: 178.5 kB / 0.6017 GB, free: 1.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.2164, allocations: 0.8958 MB / 0.6025 GB, free: 0.957 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2164, allocations: 0 / 0.6025 GB, free: 0.957 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.2164, allocations: 3.938 kB / 0.6025 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.2174, allocations: 0.5715 MB / 0.6031 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3414/0.5589, allocations: 2.815 MB / 0.6058 GB, free: 47.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/0.5606, allocations: 1.572 MB / 0.6074 GB, free: 47.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00155/0.5622, allocations: 0.4926 MB / 0.6079 GB, free: 47.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.5623, allocations: 78.12 kB / 0.6079 GB, free: 47.15 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5624, allocations: 0 / 0.6079 GB, free: 47.15 MB / 462.1 MB Notification: Performance of Templates: time 0.02818/0.5905, allocations: 8.786 MB / 0.6165 GB, free: 46.53 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.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: 5.524975702166557]