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.001049/0.001049, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001555/0.002604, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001064/0.001064, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001401/0.002465, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.008/1.008, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09478/1.102, allocations: 53.86 MB / 243.7 MB, free: 14.89 MB / 250.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.2679/0.2679, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02591/0.2938, allocations: 13.23 MB / 292.6 MB, free: 6.461 MB / 282.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: 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 2.134e-06/2.134e-06, allocations: 0 / 293.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.825e-05, allocations: 4.562 kB / 293.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.006795/0.006813, allocations: 8.318 MB / 302.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.009557, allocations: 2.344 MB / 304.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.009934, allocations: 43.88 kB / 304.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.01138, allocations: 1.561 MB / 306.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000551/0.01193, allocations: 496.8 kB / 306.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.0121, allocations: 87.69 kB / 306.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006326/0.01273, allocations: 0.9686 MB / 307.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008442/0.01358, allocations: 1.221 MB / 308.9 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005517/0.01413, allocations: 0.8566 MB / 309.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00053/0.01466, allocations: 0.6075 MB / 310.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.992e-05/0.01476, allocations: 124 kB / 310.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.01495, allocations: 135.9 kB / 310.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.01533, allocations: 0.6974 MB / 311.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003147/0.01565, allocations: 414.7 kB / 311.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008782/0.01652, allocations: 1.381 MB / 313.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.01653, allocations: 0 / 313.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01653, allocations: 0 / 313.1 MB, free: 1.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.489e-05/0.01656, allocations: 0 / 313.1 MB, free: 1.855 MB / 298.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.001678/0.01824, allocations: 2.192 MB / 315.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.01827, allocations: 16.92 kB / 315.3 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.01861, allocations: 313.8 kB / 315.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.0191, allocations: 0.5447 MB / 316.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.087e-05/0.01916, allocations: 119.4 kB / 316.3 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.01926, allocations: 148.3 kB / 316.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.02064, allocations: 1.88 MB / 318.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/0.02067, allocations: 19.81 kB / 318.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.02074, allocations: 71.94 kB / 318.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004538/0.02119, allocations: 0.615 MB / 319 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.02187, allocations: 0.6781 MB / 319.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005362/0.02723, allocations: 11.48 MB / 331.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.0273, allocations: 177.1 kB / 331.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.224e-05/0.02732, allocations: 84.14 kB / 331.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.02734, allocations: 75.28 kB / 331.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.02737, allocations: 105.8 kB / 331.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.02737, allocations: 4 kB / 331.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 9.167e-05/0.02746, allocations: 77.64 kB / 331.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.0275, allocations: 130.7 kB / 331.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006748/0.02818, allocations: 1.15 MB / 332.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.02819, allocations: 29.64 kB / 333 MB, free: 13.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005821/0.02877, allocations: 1.397 MB / 334.4 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.0288, allocations: 43.95 kB / 334.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.02906, allocations: 418.9 kB / 334.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.02915, allocations: 341.9 kB / 335.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.02927, allocations: 132 kB / 335.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008022/0.03007, allocations: 1.714 MB / 337 MB, free: 8.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.03138, allocations: 2.174 MB / 339.2 MB, free: 5.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.479e-05/0.0314, allocations: 20 kB / 339.2 MB, free: 5.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.001983/0.03338, allocations: 1.467 MB / 340.6 MB, free: 3.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.03343, allocations: 29 kB / 340.7 MB, free: 3.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.87e-05/0.03349, allocations: 63.98 kB / 340.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.097e-05/0.03356, allocations: 76 kB / 340.8 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.03465, allocations: 0.5225 MB / 341.3 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-05/0.03473, allocations: 111.5 kB / 341.4 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.03584, allocations: 293.8 kB / 341.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.03597, allocations: 124 kB / 341.8 MB, free: 2.523 MB / 330.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 (fixed.color[1],fixed.color[2],fixed.color[3],box.color[1],box.color[2],box.color[3],sphere.color[1],sphere.color[2],sphere.color[3],cylinder.color[1],cylinder.color[2],cylinder.color[3],pipe.color[1],pipe.color[2],pipe.color[3],beam.color[1],beam.color[2],beam.color[3],gearwheel.color[1],gearwheel.color[2],gearwheel.color[3],spring.color[1],spring.color[2],spring.color[3],cone.color[1],cone.color[2],cone.color[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * 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.0003946/0.03637, allocations: 398.6 kB / 342.2 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.03646, allocations: 156.9 kB / 342.4 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.03657, allocations: 194.2 kB / 342.6 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/0.03662, allocations: 176.3 kB / 342.8 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-05/0.03666, allocations: 184.2 kB / 342.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.343e-05/0.03671, allocations: 184.1 kB / 343.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.03722, allocations: 0.6727 MB / 343.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/0.03726, allocations: 108.9 kB / 343.9 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.03728, allocations: 101 kB / 344 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.03742, allocations: 196.4 kB / 344.2 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-05/0.0375, allocations: 184.2 kB / 344.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.03754, allocations: 180.3 kB / 344.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.902e-05/0.03758, allocations: 180.2 kB / 344.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-05/0.03762, allocations: 188.2 kB / 344.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.03774, allocations: 365.4 kB / 345.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.19e-05/0.03782, allocations: 180.2 kB / 345.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.03795, allocations: 104.9 kB / 345.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.038, allocations: 180.3 kB / 345.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.03803, allocations: 101 kB / 345.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003022/0.03833, allocations: 451.2 kB / 346.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03833, allocations: 0 / 346.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000846/0.03918, allocations: 458.3 kB / 346.7 MB, free: 13.48 MB / 346.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.0001229/0.0393, allocations: 159.6 kB / 346.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005074/0.03981, allocations: 0.6959 MB / 347.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.809e-05/0.03987, allocations: 43.94 kB / 347.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.03987, allocations: 0 / 347.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.04032, allocations: 0.612 MB / 348.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.04312, allocations: 2.687 MB / 350.9 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.04345, allocations: 463.5 kB / 351.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.04372, allocations: 154.2 kB / 351.5 MB, free: 8.594 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.04385, allocations: 171.4 kB / 351.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.04385, allocations: 0 / 351.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of Templates: time 0.01124/0.05509, allocations: 6.604 MB / 358.3 MB, free: 1.91 MB / 346.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.9353823848068714]