Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.001306/0.001306, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001433/0.001433, allocations: 206.1 kB / 24.48 MB, free: 3.695 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.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2377/0.2377, allocations: 46.97 MB / 361.6 MB, free: 4.012 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.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 71.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3638, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006713/0.3705, allocations: 4.856 MB / 0.5665 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.3741, allocations: 1.69 MB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005459/0.3747, allocations: 23.94 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.376, allocations: 0.533 MB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.3781, allocations: 0.9301 MB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.3782, allocations: 19.98 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00183/0.38, allocations: 1.522 MB / 0.5711 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009013/0.3809, allocations: 0.7446 MB / 0.5719 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006658/0.3816, allocations: 0.5291 MB / 0.5724 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002263/0.3839, allocations: 1.707 MB / 0.574 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.3841, allocations: 92 kB / 0.5741 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.3847, allocations: 227.7 kB / 0.5744 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006791/0.3854, allocations: 0.7086 MB / 0.575 GB, free: 6.523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.386, allocations: 0.6048 MB / 0.5756 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.389, allocations: 2.811 MB / 0.5784 GB, free: 3.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.389, allocations: 0 / 0.5784 GB, free: 3.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.389, allocations: 0 / 0.5784 GB, free: 3.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.986e-05/0.389, allocations: 0 / 0.5784 GB, free: 3.094 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.003242/0.3923, allocations: 2.026 MB / 0.5804 GB, free: 1.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.3923, allocations: 12.03 kB / 0.5804 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004862/0.3972, allocations: 1.512 MB / 0.5818 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.3991, allocations: 0.8004 MB / 0.5826 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/0.3992, allocations: 90.45 kB / 0.5827 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002445/0.3995, allocations: 111.8 kB / 0.5828 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006544/0.406, allocations: 4.972 MB / 0.5877 GB, free: 9.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.143e-05/0.4061, allocations: 19.81 kB / 0.5877 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.4062, allocations: 71.83 kB / 0.5878 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001883/0.4081, allocations: 1.189 MB / 0.5889 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006889/0.415, allocations: 4.25 MB / 0.5931 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02181/0.4368, allocations: 19.38 MB / 0.612 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.4381, allocations: 0.7214 MB / 0.6127 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004602/0.4386, allocations: 351.2 kB / 0.613 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.4386, allocations: 8.047 kB / 0.613 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.4387, allocations: 46.44 kB / 0.6131 GB, free: 14.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.456e-06/0.4387, allocations: 0 / 0.6131 GB, free: 14.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.00171/0.4404, allocations: 1.135 MB / 0.6142 GB, free: 13.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.4405, allocations: 144.5 kB / 0.6143 GB, free: 12.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.4433, allocations: 2.305 MB / 0.6166 GB, free: 10.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.4433, allocations: 33.64 kB / 0.6166 GB, free: 10.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.4447, allocations: 1.897 MB / 0.6185 GB, free: 8.57 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.445, allocations: 313.8 kB / 0.6188 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009707/0.446, allocations: 0.7978 MB / 0.6196 GB, free: 7.457 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4462, allocations: 330.4 kB / 0.6199 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4476, allocations: 1.03 MB / 0.6209 GB, free: 6.098 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/0.4513, allocations: 3.691 MB / 0.6245 GB, free: 1.078 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006016/0.4573, allocations: 5.162 MB / 0.6295 GB, free: 10.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.633e-05/0.4574, allocations: 28 kB / 0.6295 GB, free: 10.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007639/0.465, allocations: 4.437 MB / 0.6339 GB, free: 6.117 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.075e-05/0.4651, allocations: 47.94 kB / 0.6339 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.4652, allocations: 96 kB / 0.634 GB, free: 5.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001256/0.4653, allocations: 124 kB / 0.6341 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002371/0.4677, allocations: 0.8811 MB / 0.635 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001523/0.4678, allocations: 183.3 kB / 0.6352 GB, free: 4.793 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.4704, allocations: 0.5278 MB / 0.6357 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004026/0.4708, allocations: 268 kB / 0.6359 GB, free: 4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (476): * Single equations (assignments): 472 * Array equations: 4 * 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.001774/0.4726, allocations: 1.184 MB / 0.6371 GB, free: 2.805 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.4729, allocations: 174.8 kB / 0.6373 GB, free: 2.633 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.4732, allocations: 195.9 kB / 0.6374 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.444e-05/0.4732, allocations: 20 kB / 0.6375 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/0.4732, allocations: 7.984 kB / 0.6375 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4732, allocations: 0 / 0.6375 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.4767, allocations: 1.64 MB / 0.6391 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4767, allocations: 0 / 0.6391 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.477, allocations: 71.89 kB / 0.6391 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.477, allocations: 0 / 0.6391 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.477, allocations: 8 kB / 0.6392 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.477, allocations: 4 kB / 0.6392 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.477, allocations: 0 / 0.6392 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.4783, allocations: 1.188 MB / 0.6403 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.4787, allocations: 158.7 kB / 0.6405 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.4788, allocations: 4 kB / 0.6405 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.4793, allocations: 16.08 kB / 0.6405 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/0.4794, allocations: 35.88 kB / 0.6405 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.4794, allocations: 31.92 kB / 0.6406 GB, free: 15.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.4812, allocations: 1.292 MB / 0.6418 GB, free: 13.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4812, allocations: 0 / 0.6418 GB, free: 13.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002911/0.4841, allocations: 0.5534 MB / 0.6424 GB, free: 13.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * 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.0002862/0.4844, allocations: 123.1 kB / 0.6425 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003772/0.4882, allocations: 2.257 MB / 0.6447 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4882, allocations: 0 / 0.6447 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.4886, allocations: 335.7 kB / 0.645 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4897, allocations: 153.8 kB / 0.6451 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006985/0.4966, allocations: 4.281 MB / 0.6493 GB, free: 6.145 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/0.4983, allocations: 1.291 MB / 0.6506 GB, free: 4.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.4988, allocations: 159.4 kB / 0.6507 GB, free: 4.66 MB / 494.1 MB Notification: Performance of SimCode: time 1.803e-06/0.4988, allocations: 4 kB / 0.6507 GB, free: 4.656 MB / 494.1 MB Notification: Performance of Templates: time 0.04412/0.5429, allocations: 27.76 MB / 0.6778 GB, free: 8.941 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.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.709376828017412]