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.001134/0.001134, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.002891, allocations: 457.8 kB / 10.45 MB, free: 244 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.001633/0.001633, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001941/0.003574, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.04/1.04, allocations: 177.5 MB / 190 MB, free: 4.801 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1085/1.149, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.2909/0.2909, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02578/0.3167, allocations: 13.24 MB / 292.8 MB, free: 6.395 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.766e-06/2.766e-06, allocations: 0 / 294.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.244e-05/3.521e-05, allocations: 4.094 kB / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.009788/0.009823, allocations: 8.327 MB / 302.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005787/0.01561, allocations: 2.351 MB / 304.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.01729, allocations: 43.94 kB / 304.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.02028, allocations: 1.561 MB / 306.4 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.02196, allocations: 0.4968 MB / 306.9 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.02228, allocations: 75.77 kB / 306.9 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.02357, allocations: 0.9608 MB / 307.9 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004386/0.02796, allocations: 1.229 MB / 309.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.02898, allocations: 0.8566 MB / 310 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003872/0.03286, allocations: 0.6153 MB / 310.6 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.03312, allocations: 116 kB / 310.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003642/0.03348, allocations: 136 kB / 310.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005939/0.03408, allocations: 0.6896 MB / 311.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.03455, allocations: 414.8 kB / 311.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004318/0.03887, allocations: 1.381 MB / 313.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.03888, allocations: 0 / 313.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03888, allocations: 0 / 313.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.693e-05/0.03894, allocations: 0 / 313.3 MB, free: 1.766 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.002497/0.04143, allocations: 2.193 MB / 315.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.04147, allocations: 8.922 kB / 315.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003514/0.04498, allocations: 317.8 kB / 315.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006898/0.04567, allocations: 0.5562 MB / 316.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/0.04576, allocations: 119.4 kB / 316.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.0459, allocations: 148.3 kB / 316.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004826/0.05072, allocations: 1.876 MB / 318.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.05076, allocations: 15.81 kB / 318.5 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.05087, allocations: 79.94 kB / 318.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005813/0.05145, allocations: 0.5798 MB / 319.2 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.05246, allocations: 0.6799 MB / 319.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/0.06939, allocations: 11.47 MB / 331.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.298e-05/0.06946, allocations: 169.1 kB / 331.5 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.06948, allocations: 84.14 kB / 331.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.0695, allocations: 79.28 kB / 331.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.06954, allocations: 109.8 kB / 331.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.334e-06/0.06954, allocations: 3.938 kB / 331.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001612/0.06971, allocations: 81.62 kB / 331.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.06975, allocations: 126.7 kB / 332 MB, free: 14.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.0707, allocations: 1.15 MB / 333.1 MB, free: 13.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.07071, allocations: 25.7 kB / 333.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007251/0.07143, allocations: 1.393 MB / 334.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.07147, allocations: 43.95 kB / 334.6 MB, free: 11.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003367/0.07484, allocations: 418.9 kB / 335 MB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.0751, allocations: 341.9 kB / 335.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.07526, allocations: 136 kB / 335.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009916/0.07625, allocations: 1.722 MB / 337.2 MB, free: 8.141 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004895/0.08115, allocations: 2.346 MB / 339.5 MB, free: 4.992 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.081e-05/0.08118, allocations: 16 kB / 339.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002114/0.08329, allocations: 1.468 MB / 341 MB, free: 3.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.08333, allocations: 39.03 kB / 341.1 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/0.08338, allocations: 56 kB / 341.1 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.813e-05/0.08343, allocations: 72 kB / 341.2 MB, free: 3.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.08714, allocations: 0.5303 MB / 341.7 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-05/0.08722, allocations: 111.5 kB / 341.8 MB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.08851, allocations: 301.8 kB / 342.1 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.08863, allocations: 120 kB / 342.2 MB, free: 2.289 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.0005666/0.0892, allocations: 398.6 kB / 342.6 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.08931, allocations: 156.9 kB / 342.8 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.08944, allocations: 194.3 kB / 343 MB, free: 1.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.042e-05/0.08949, allocations: 184.2 kB / 343.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-05/0.08955, allocations: 180.2 kB / 343.3 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.716e-05/0.0896, allocations: 180.2 kB / 343.5 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008243/0.09042, allocations: 0.6845 MB / 344.2 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.329e-05/0.09045, allocations: 109 kB / 344.3 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.09049, allocations: 104.9 kB / 344.4 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.09065, allocations: 188.5 kB / 344.6 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.145e-05/0.0907, allocations: 180.2 kB / 344.7 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.09076, allocations: 184.2 kB / 344.9 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.075e-05/0.09081, allocations: 176.3 kB / 345.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-05/0.09086, allocations: 184.2 kB / 345.3 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.09105, allocations: 357.3 kB / 345.6 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.09117, allocations: 188.2 kB / 345.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.0914, allocations: 105 kB / 345.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.09146, allocations: 184.2 kB / 346.1 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.09149, allocations: 105 kB / 346.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005087/0.092, allocations: 443.3 kB / 346.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.092, allocations: 4 kB / 346.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001796/0.0938, allocations: 462.3 kB / 347.1 MB, free: 13.24 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.0001806/0.09398, allocations: 156.6 kB / 347.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.09532, allocations: 0.7385 MB / 348 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-05/0.09542, allocations: 43.94 kB / 348 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.09543, allocations: 4 kB / 348 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/0.09636, allocations: 1.056 MB / 349.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.1012, allocations: 2.699 MB / 351.8 MB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.1017, allocations: 459.5 kB / 352.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004782/0.1022, allocations: 154.2 kB / 352.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.1024, allocations: 175.4 kB / 352.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of SimCode: time 1.803e-06/0.1024, allocations: 0 / 352.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of Templates: time 0.01611/0.1185, allocations: 4.262 MB / 356.8 MB, free: 3.371 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9543842179700732]