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.002005/0.002005, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00199/0.00199, allocations: 209 kB / 24.48 MB, free: 3.938 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.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.2568/0.2568, allocations: 46.96 MB / 361.6 MB, free: 4.113 MB / 286.1 MB " [Timeout remaining time 179] 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.002388/0.002388, allocations: 71.89 kB / 0.4974 GB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3839, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01056/0.3945, allocations: 7.674 MB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005431/0.3999, allocations: 2.176 MB / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.401, allocations: 47.88 kB / 0.5715 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003772/0.4048, allocations: 1.499 MB / 0.573 GB, free: 8.719 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.4062, allocations: 493.3 kB / 0.5734 GB, free: 8.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003188/0.4065, allocations: 71.84 kB / 0.5735 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.4078, allocations: 0.9215 MB / 0.5744 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001758/0.4095, allocations: 1.196 MB / 0.5756 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007211/0.4103, allocations: 0.5488 MB / 0.5761 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009784/0.4112, allocations: 0.6614 MB / 0.5767 GB, free: 4.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.4114, allocations: 116 kB / 0.5769 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.4117, allocations: 119.9 kB / 0.577 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007429/0.4125, allocations: 0.74 MB / 0.5777 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007169/0.4132, allocations: 0.6483 MB / 0.5783 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002642/0.4158, allocations: 2.352 MB / 0.5806 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4159, allocations: 0 / 0.5806 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4159, allocations: 0 / 0.5806 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.56e-05/0.4159, allocations: 0 / 0.5806 GB, free: 0.8164 MB / 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.002913/0.4188, allocations: 1.93 MB / 0.5825 GB, free: 14.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4188, allocations: 8.031 kB / 0.5825 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006076/0.4195, allocations: 227.4 kB / 0.5827 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.4207, allocations: 0.6625 MB / 0.5834 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.4208, allocations: 123.3 kB / 0.5835 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.421, allocations: 149.8 kB / 0.5836 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/0.4255, allocations: 3.371 MB / 0.5869 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/0.4256, allocations: 19.81 kB / 0.587 GB, free: 9.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.4257, allocations: 75.94 kB / 0.587 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000902/0.4266, allocations: 0.6188 MB / 0.5876 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/0.4298, allocations: 1.858 MB / 0.5894 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.4431, allocations: 12.41 MB / 0.6016 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.4432, allocations: 169.1 kB / 0.6017 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.4433, allocations: 80.14 kB / 0.6018 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.4434, allocations: 75.28 kB / 0.6019 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.596e-05/0.4434, allocations: 117.8 kB / 0.602 GB, free: 10.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.734e-06/0.4434, allocations: 0 / 0.602 GB, free: 10.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002707/0.4437, allocations: 133 kB / 0.6021 GB, free: 9.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.295e-05/0.4438, allocations: 134.7 kB / 0.6022 GB, free: 9.805 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.4457, allocations: 1.434 MB / 0.6036 GB, free: 8.363 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4457, allocations: 25.7 kB / 0.6037 GB, free: 8.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.4469, allocations: 1.451 MB / 0.6051 GB, free: 6.863 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.4469, allocations: 43.95 kB / 0.6051 GB, free: 6.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004808/0.4474, allocations: 423.2 kB / 0.6055 GB, free: 6.398 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.4476, allocations: 341.9 kB / 0.6059 GB, free: 6.059 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/0.4481, allocations: 367.8 kB / 0.6062 GB, free: 5.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.4503, allocations: 1.937 MB / 0.6081 GB, free: 2.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.4536, allocations: 2.504 MB / 0.6105 GB, free: 15.64 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.677e-05/0.4536, allocations: 20 kB / 0.6106 GB, free: 15.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003765/0.4574, allocations: 2.1 MB / 0.6126 GB, free: 13.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.4574, allocations: 31.94 kB / 0.6126 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.4575, allocations: 56.09 kB / 0.6127 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.084e-05/0.4576, allocations: 80 kB / 0.6128 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.4588, allocations: 487 kB / 0.6132 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.4589, allocations: 107.6 kB / 0.6133 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.4604, allocations: 305.8 kB / 0.6136 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/0.4607, allocations: 140 kB / 0.6138 GB, free: 12.32 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.001192/0.4619, allocations: 0.8589 MB / 0.6146 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.4621, allocations: 208.2 kB / 0.6148 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.4624, allocations: 214.1 kB / 0.615 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001632/0.4625, allocations: 176.3 kB / 0.6152 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.941e-05/0.4626, allocations: 188.2 kB / 0.6154 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.253e-05/0.4627, allocations: 180.2 kB / 0.6155 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.4638, allocations: 0.981 MB / 0.6165 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.771e-05/0.4638, allocations: 112.9 kB / 0.6166 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.4639, allocations: 101 kB / 0.6167 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.805e-05/0.464, allocations: 184.2 kB / 0.6169 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.4641, allocations: 184.3 kB / 0.617 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-05/0.4642, allocations: 180.2 kB / 0.6172 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.212e-05/0.4642, allocations: 180.3 kB / 0.6174 GB, free: 8.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.4646, allocations: 420.7 kB / 0.6178 GB, free: 8.047 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.4648, allocations: 188.3 kB / 0.618 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.465, allocations: 188.2 kB / 0.6181 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.4652, allocations: 105 kB / 0.6182 GB, free: 7.555 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.4654, allocations: 184.2 kB / 0.6184 GB, free: 7.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/0.4654, allocations: 101 kB / 0.6185 GB, free: 7.262 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.4665, allocations: 0.8007 MB / 0.6193 GB, free: 6.457 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4665, allocations: 0 / 0.6193 GB, free: 6.457 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001814/0.4684, allocations: 462.3 kB / 0.6197 GB, free: 6.004 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.0001812/0.4685, allocations: 166.5 kB / 0.6199 GB, free: 5.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.4701, allocations: 0.8685 MB / 0.6207 GB, free: 4.977 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4701, allocations: 4 kB / 0.6208 GB, free: 4.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.35e-06/0.4701, allocations: 3.938 kB / 0.6208 GB, free: 4.969 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.4709, allocations: 0.5319 MB / 0.6213 GB, free: 4.434 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005223/0.4761, allocations: 2.977 MB / 0.6242 GB, free: 1.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/0.4774, allocations: 0.9917 MB / 0.6252 GB, free: 384 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.4776, allocations: 83.42 kB / 0.6252 GB, free: 300 kB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4776, allocations: 0 / 0.6252 GB, free: 300 kB / 462.1 MB Notification: Performance of Templates: time 0.02952/0.5071, allocations: 17.25 MB / 0.6421 GB, free: 15.03 MB / 494.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: 8.737259647343308]