Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001484/0.001484, allocations: 124 kB / 18.46 MB, free: 4.578 MB / 14.72 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.001649/0.001649, allocations: 213.6 kB / 21.42 MB, free: 1.625 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2557/0.2557, allocations: 46.92 MB / 357.8 MB, free: 10.41 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 63.91 kB / 0.4921 GB, free: 7.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1398, allocations: 65.99 MB / 0.5565 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01081/0.1506, allocations: 8.734 MB / 0.5651 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005051/0.1557, allocations: 2.305 MB / 0.5673 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007985/0.1565, allocations: 39.94 kB / 0.5674 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.1595, allocations: 1.565 MB / 0.5689 GB, free: 8.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.1607, allocations: 493.3 kB / 0.5694 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.161, allocations: 75.89 kB / 0.5694 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.1621, allocations: 0.9254 MB / 0.5703 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.1637, allocations: 1.276 MB / 0.5716 GB, free: 5.895 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007329/0.1644, allocations: 0.5527 MB / 0.5721 GB, free: 5.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009273/0.1654, allocations: 0.72 MB / 0.5728 GB, free: 4.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000188/0.1656, allocations: 116 kB / 0.5729 GB, free: 4.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.1658, allocations: 120 kB / 0.573 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007013/0.1665, allocations: 0.7478 MB / 0.5738 GB, free: 3.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007817/0.1673, allocations: 0.8464 MB / 0.5746 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002529/0.1698, allocations: 2.337 MB / 0.5769 GB, free: 448 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1699, allocations: 3.938 kB / 0.5769 GB, free: 444 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1699, allocations: 0 / 0.5769 GB, free: 444 kB / 430.1 MB Notification: Performance of Transformations before backend: time 3.766e-05/0.1699, allocations: 0 / 0.5769 GB, free: 444 kB / 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.003037/0.1729, allocations: 1.991 MB / 0.5788 GB, free: 14.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.173, allocations: 12.03 kB / 0.5788 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/0.1736, allocations: 219.4 kB / 0.5791 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.1747, allocations: 0.7229 MB / 0.5798 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.943e-05/0.1748, allocations: 119.3 kB / 0.5799 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.175, allocations: 152.1 kB / 0.58 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00429/0.1793, allocations: 3.379 MB / 0.5833 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.1793, allocations: 15.88 kB / 0.5833 GB, free: 9.391 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.1795, allocations: 71.94 kB / 0.5834 GB, free: 9.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000795/0.1803, allocations: 0.6188 MB / 0.584 GB, free: 8.703 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003011/0.1833, allocations: 1.869 MB / 0.5858 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3885/0.5718, allocations: 13.5 MB / 0.599 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.5719, allocations: 173.4 kB / 0.5992 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.5719, allocations: 87.78 kB / 0.5993 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.5719, allocations: 76.69 kB / 0.5993 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.572, allocations: 112.3 kB / 0.5994 GB, free: 24.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.943e-06/0.572, allocations: 0 / 0.5994 GB, free: 24.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002885/0.5722, allocations: 152.8 kB / 0.5996 GB, free: 24.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.5723, allocations: 130 kB / 0.5997 GB, free: 24.08 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002445/0.5747, allocations: 1.655 MB / 0.6013 GB, free: 23.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.5747, allocations: 26.48 kB / 0.6014 GB, free: 23.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008236/0.5756, allocations: 1.411 MB / 0.6027 GB, free: 23.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.5756, allocations: 47.86 kB / 0.6028 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005148/0.5761, allocations: 425 kB / 0.6032 GB, free: 23.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.5762, allocations: 359.2 kB / 0.6035 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.5768, allocations: 372.4 kB / 0.6039 GB, free: 22.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.5781, allocations: 1.927 MB / 0.6058 GB, free: 20.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.5801, allocations: 2.514 MB / 0.6082 GB, free: 17.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.976e-05/0.5801, allocations: 19.88 kB / 0.6082 GB, free: 17.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003515/0.5837, allocations: 2.118 MB / 0.6103 GB, free: 16.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.5837, allocations: 29.75 kB / 0.6103 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.676e-05/0.5838, allocations: 58.09 kB / 0.6104 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001027/0.5839, allocations: 73.69 kB / 0.6105 GB, free: 16.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.5853, allocations: 485.5 kB / 0.6109 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001444/0.5854, allocations: 114.6 kB / 0.611 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.5869, allocations: 332 kB / 0.6114 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.5871, allocations: 143.7 kB / 0.6115 GB, free: 16.62 MB / 446.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.001141/0.5882, allocations: 0.8646 MB / 0.6123 GB, free: 16.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.5884, allocations: 237.1 kB / 0.6126 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001662/0.5886, allocations: 225.4 kB / 0.6128 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/0.5886, allocations: 181.5 kB / 0.6129 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.032e-05/0.5886, allocations: 182.3 kB / 0.6131 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.659e-05/0.5886, allocations: 182 kB / 0.6133 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.5905, allocations: 1.479 MB / 0.6147 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/0.5905, allocations: 107.9 kB / 0.6148 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.5905, allocations: 102.9 kB / 0.6149 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/0.5906, allocations: 177.9 kB / 0.6151 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.5906, allocations: 185.7 kB / 0.6153 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.402e-05/0.5906, allocations: 183.7 kB / 0.6155 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.612e-05/0.5906, allocations: 185.9 kB / 0.6156 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.5908, allocations: 433.5 kB / 0.6161 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.5911, allocations: 301.5 kB / 0.6163 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.5912, allocations: 178.5 kB / 0.6165 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.5915, allocations: 115.9 kB / 0.6166 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.5915, allocations: 178.1 kB / 0.6168 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.84e-05/0.5915, allocations: 105.3 kB / 0.6169 GB, free: 12.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001423/0.5929, allocations: 1.012 MB / 0.6179 GB, free: 11.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5929, allocations: 0.9375 kB / 0.6179 GB, free: 11.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001979/0.5949, allocations: 429 kB / 0.6183 GB, free: 11.77 MB / 446.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.0001555/0.5951, allocations: 184.7 kB / 0.6185 GB, free: 11.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001677/0.5967, allocations: 0.8626 MB / 0.6193 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5967, allocations: 0 / 0.6193 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.316e-06/0.5968, allocations: 5.125 kB / 0.6193 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/0.5976, allocations: 0.5809 MB / 0.6199 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/0.6029, allocations: 2.987 MB / 0.6228 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001622/0.6045, allocations: 1.579 MB / 0.6243 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.6047, allocations: 90.38 kB / 0.6244 GB, free: 8.395 MB / 446.1 MB Notification: Performance of SimCode: time 2.174e-06/0.6047, allocations: 0 / 0.6244 GB, free: 8.395 MB / 446.1 MB Notification: Performance of Templates: time 0.03171/0.6365, allocations: 17.97 MB / 0.642 GB, free: 12.06 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 9.286859895015368]