Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001799/0.001799, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002668/0.002668, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.481/1.481, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2322/0.2322, allocations: 46.88 MB / 361.1 MB, free: 4.641 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-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003435/0.003435, allocations: 79.88 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4386, allocations: 65.98 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01149/0.4501, allocations: 8.752 MB / 0.5698 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005117/0.4553, allocations: 2.313 MB / 0.572 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.4563, allocations: 39.94 kB / 0.5721 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003288/0.4596, allocations: 1.561 MB / 0.5736 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.461, allocations: 497.3 kB / 0.5741 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.4614, allocations: 71.84 kB / 0.5741 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.4627, allocations: 0.9254 MB / 0.575 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.4643, allocations: 1.099 MB / 0.5761 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.465, allocations: 0.5332 MB / 0.5766 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009567/0.466, allocations: 0.7161 MB / 0.5773 GB, free: 4.457 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.4662, allocations: 119.9 kB / 0.5774 GB, free: 4.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.4665, allocations: 131.9 kB / 0.5776 GB, free: 4.211 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000676/0.4671, allocations: 0.7361 MB / 0.5783 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008746/0.468, allocations: 0.858 MB / 0.5791 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.4707, allocations: 2.329 MB / 0.5814 GB, free: 276 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.4707, allocations: 7.984 kB / 0.5814 GB, free: 268 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4707, allocations: 0 / 0.5814 GB, free: 268 kB / 414.1 MB Notification: Performance of Transformations before backend: time 4.911e-05/0.4708, allocations: 0 / 0.5814 GB, free: 268 kB / 414.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.003178/0.474, allocations: 1.995 MB / 0.5833 GB, free: 14.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.474, allocations: 8.031 kB / 0.5834 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.4746, allocations: 223.4 kB / 0.5836 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.476, allocations: 0.7268 MB / 0.5843 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.4761, allocations: 111.4 kB / 0.5844 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001902/0.4763, allocations: 152.1 kB / 0.5845 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.4807, allocations: 3.387 MB / 0.5878 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.506e-05/0.4808, allocations: 15.88 kB / 0.5878 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.4809, allocations: 71.94 kB / 0.5879 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008531/0.4818, allocations: 0.6226 MB / 0.5885 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/0.4849, allocations: 1.869 MB / 0.5904 GB, free: 6.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/0.4986, allocations: 13.5 MB / 0.6035 GB, free: 8.723 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.4987, allocations: 177 kB / 0.6037 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.4988, allocations: 84.14 kB / 0.6038 GB, free: 8.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.4988, allocations: 79.22 kB / 0.6039 GB, free: 8.375 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/0.4989, allocations: 109.8 kB / 0.604 GB, free: 8.258 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.475e-06/0.4989, allocations: 0 / 0.604 GB, free: 8.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002938/0.4992, allocations: 152.9 kB / 0.6041 GB, free: 8.102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.688e-05/0.4993, allocations: 126.7 kB / 0.6042 GB, free: 7.965 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002181/0.5015, allocations: 1.651 MB / 0.6058 GB, free: 6.305 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.5015, allocations: 29.7 kB / 0.6059 GB, free: 6.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.5026, allocations: 1.412 MB / 0.6073 GB, free: 4.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.074e-05/0.5027, allocations: 43.95 kB / 0.6073 GB, free: 4.797 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004864/0.5032, allocations: 435.1 kB / 0.6077 GB, free: 4.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5034, allocations: 353.9 kB / 0.608 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/0.5039, allocations: 371.8 kB / 0.6084 GB, free: 3.645 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.5059, allocations: 1.933 MB / 0.6103 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.5087, allocations: 2.511 MB / 0.6127 GB, free: 13.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-05/0.5088, allocations: 16 kB / 0.6128 GB, free: 13.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003422/0.5122, allocations: 2.116 MB / 0.6148 GB, free: 11.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.5123, allocations: 34.53 kB / 0.6149 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.838e-05/0.5123, allocations: 60 kB / 0.6149 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.4e-05/0.5124, allocations: 72 kB / 0.615 GB, free: 11.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.5137, allocations: 495 kB / 0.6155 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001047/0.5138, allocations: 107.6 kB / 0.6156 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.5154, allocations: 333.4 kB / 0.6159 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.5155, allocations: 140 kB / 0.616 GB, free: 10.23 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.001462/0.517, allocations: 0.8666 MB / 0.6169 GB, free: 9.348 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.5173, allocations: 232.1 kB / 0.6171 GB, free: 9.113 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.5175, allocations: 228.2 kB / 0.6173 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/0.5176, allocations: 180.3 kB / 0.6175 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.867e-05/0.5177, allocations: 188.3 kB / 0.6176 GB, free: 8.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/0.5178, allocations: 176.3 kB / 0.6178 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.5197, allocations: 1.477 MB / 0.6193 GB, free: 6.785 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.007e-05/0.5198, allocations: 108.9 kB / 0.6194 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.955e-05/0.5199, allocations: 108.9 kB / 0.6195 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.877e-05/0.52, allocations: 184.2 kB / 0.6196 GB, free: 6.371 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.655e-05/0.5201, allocations: 184.2 kB / 0.6198 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.253e-05/0.5202, allocations: 180.3 kB / 0.62 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.799e-05/0.5202, allocations: 176.3 kB / 0.6202 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.5206, allocations: 434 kB / 0.6206 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.521, allocations: 309.1 kB / 0.6209 GB, free: 5.043 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.5212, allocations: 180.2 kB / 0.621 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.5215, allocations: 109 kB / 0.6211 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.5216, allocations: 180.2 kB / 0.6213 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.163e-05/0.5216, allocations: 101 kB / 0.6214 GB, free: 4.457 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001408/0.523, allocations: 1.014 MB / 0.6224 GB, free: 3.445 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.523, allocations: 0 / 0.6224 GB, free: 3.445 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001672/0.5247, allocations: 438.7 kB / 0.6228 GB, free: 3.016 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.0002334/0.5249, allocations: 170.5 kB / 0.623 GB, free: 2.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.5263, allocations: 0.8718 MB / 0.6238 GB, free: 1.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5263, allocations: 0 / 0.6238 GB, free: 1.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.5263, allocations: 0.8125 kB / 0.6238 GB, free: 1.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000898/0.5272, allocations: 0.5932 MB / 0.6244 GB, free: 1.387 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004245/0.5314, allocations: 2.818 MB / 0.6272 GB, free: 14.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.533, allocations: 1.572 MB / 0.6287 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001062/0.534, allocations: 0.4914 MB / 0.6292 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.5341, allocations: 75.44 kB / 0.6292 GB, free: 12.35 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5341, allocations: 0 / 0.6292 GB, free: 12.35 MB / 478.1 MB Notification: Performance of Templates: time 0.01942/0.5536, allocations: 9.324 MB / 0.6384 GB, free: 3.059 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.482985422946513]