Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 108.5 kB / 21.23 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 190.5 kB / 24.51 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2338/0.2338, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") translateModel(ModelicaTest.MultiBody.Visualizers.Shapes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002401/0.002401, allocations: 67.88 kB / 497.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4606, allocations: 64.29 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01974/0.4803, allocations: 8.778 MB / 0.5574 GB, free: 6.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009305/0.4896, allocations: 2.278 MB / 0.5596 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.4911, allocations: 43.94 kB / 0.5597 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0057/0.4968, allocations: 1.561 MB / 0.5612 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.4996, allocations: 497.3 kB / 0.5617 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.5001, allocations: 71.84 kB / 0.5617 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.502, allocations: 0.9487 MB / 0.5627 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.5043, allocations: 1.103 MB / 0.5637 GB, free: 64 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.5053, allocations: 0.5488 MB / 0.5643 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.5069, allocations: 0.7238 MB / 0.565 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.5072, allocations: 120 kB / 0.5651 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.5077, allocations: 123.9 kB / 0.5652 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.5088, allocations: 0.7517 MB / 0.566 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.5101, allocations: 0.8658 MB / 0.5668 GB, free: 12.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.5139, allocations: 2.352 MB / 0.5691 GB, free: 10.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5139, allocations: 0 / 0.5691 GB, free: 10.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.514, allocations: 0 / 0.5691 GB, free: 10.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.322e-05/0.514, allocations: 0 / 0.5691 GB, free: 10.56 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.004088/0.5181, allocations: 1.928 MB / 0.571 GB, free: 8.594 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.5181, allocations: 12.92 kB / 0.571 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.519, allocations: 223.4 kB / 0.5712 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.5205, allocations: 0.6702 MB / 0.5719 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.5207, allocations: 115.4 kB / 0.572 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000271/0.5209, allocations: 156 kB / 0.5721 GB, free: 7.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005031/0.526, allocations: 3.379 MB / 0.5754 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.641e-05/0.526, allocations: 19.81 kB / 0.5754 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.5262, allocations: 67.95 kB / 0.5755 GB, free: 3.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008924/0.5271, allocations: 0.6149 MB / 0.5761 GB, free: 2.988 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003398/0.5305, allocations: 1.862 MB / 0.5779 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.5446, allocations: 13.44 MB / 0.5911 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.5447, allocations: 173.1 kB / 0.5912 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.5447, allocations: 84.08 kB / 0.5913 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.5448, allocations: 79.22 kB / 0.5914 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.5448, allocations: 105.9 kB / 0.5915 GB, free: 2.789 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.465e-06/0.5448, allocations: 0 / 0.5915 GB, free: 2.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002722/0.5451, allocations: 160.8 kB / 0.5916 GB, free: 2.625 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.5452, allocations: 134.7 kB / 0.5918 GB, free: 2.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.5473, allocations: 1.655 MB / 0.5934 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.5473, allocations: 25.7 kB / 0.5934 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001078/0.5484, allocations: 1.419 MB / 0.5948 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.5484, allocations: 47.95 kB / 0.5948 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004774/0.5489, allocations: 423.2 kB / 0.5952 GB, free: 14.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5491, allocations: 357.9 kB / 0.5956 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.5496, allocations: 371.8 kB / 0.5959 GB, free: 14.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.5515, allocations: 1.933 MB / 0.5978 GB, free: 11.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002777/0.5543, allocations: 2.504 MB / 0.6003 GB, free: 8.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/0.5543, allocations: 19.94 kB / 0.6003 GB, free: 8.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003479/0.5578, allocations: 2.127 MB / 0.6024 GB, free: 5.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.5578, allocations: 35.92 kB / 0.6024 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.195e-05/0.5579, allocations: 56 kB / 0.6024 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.743e-05/0.558, allocations: 76 kB / 0.6025 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.5592, allocations: 487 kB / 0.603 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.405e-05/0.5593, allocations: 107.6 kB / 0.6031 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.5608, allocations: 325.6 kB / 0.6034 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.5609, allocations: 139.9 kB / 0.6035 GB, free: 4.746 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.001523/0.5624, allocations: 0.8707 MB / 0.6044 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.5627, allocations: 240 kB / 0.6046 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002277/0.5629, allocations: 228.5 kB / 0.6048 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.992e-05/0.563, allocations: 188.2 kB / 0.605 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.75e-05/0.5631, allocations: 176.3 kB / 0.6052 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.296e-05/0.5632, allocations: 176.4 kB / 0.6053 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.565, allocations: 1.465 MB / 0.6068 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.193e-05/0.565, allocations: 105 kB / 0.6069 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.5651, allocations: 104.9 kB / 0.607 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-05/0.5652, allocations: 180.3 kB / 0.6071 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.741e-05/0.5652, allocations: 180.2 kB / 0.6073 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.093e-05/0.5653, allocations: 188.2 kB / 0.6075 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.446e-05/0.5654, allocations: 176.3 kB / 0.6077 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.5657, allocations: 438 kB / 0.6081 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003471/0.5661, allocations: 228.1 kB / 0.6083 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/0.5663, allocations: 184.2 kB / 0.6085 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003122/0.5667, allocations: 105 kB / 0.6086 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5668, allocations: 184.2 kB / 0.6087 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.067e-05/0.5668, allocations: 101 kB / 0.6088 GB, free: 15.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.5682, allocations: 1.022 MB / 0.6098 GB, free: 14.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5682, allocations: 0 / 0.6098 GB, free: 14.07 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001862/0.5701, allocations: 434.7 kB / 0.6103 GB, free: 13.64 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.0002122/0.5703, allocations: 170.5 kB / 0.6104 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.5717, allocations: 0.8686 MB / 0.6113 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5717, allocations: 0 / 0.6113 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.234e-06/0.5717, allocations: 4.062 kB / 0.6113 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008789/0.5726, allocations: 0.5788 MB / 0.6118 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.5773, allocations: 2.811 MB / 0.6146 GB, free: 9.172 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.5788, allocations: 1.583 MB / 0.6161 GB, free: 7.555 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001098/0.5799, allocations: 499.3 kB / 0.6166 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.58, allocations: 71.44 kB / 0.6167 GB, free: 6.992 MB / 462.1 MB Notification: Performance of SimCode: time 1.152e-06/0.58, allocations: 0 / 0.6167 GB, free: 6.992 MB / 462.1 MB Notification: Performance of Templates: time 0.02297/0.603, allocations: 10.1 MB / 0.6265 GB, free: 12.95 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 5.738714883103967]