Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.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.001296/0.001296, allocations: 118 kB / 18.45 MB, free: 4.594 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.00139/0.00139, allocations: 211.4 kB / 21.41 MB, free: 1.645 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.505/1.505, allocations: 227.4 MB / 251.6 MB, free: 64 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.241/0.241, allocations: 46.16 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 84.67 kB / 490.2 MB, free: 27.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1516, allocations: 62.45 MB / 0.5396 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007782/0.1594, allocations: 5.399 MB / 0.5449 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003884/0.1634, allocations: 1.799 MB / 0.5467 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006788/0.1641, allocations: 23.94 kB / 0.5467 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.1654, allocations: 0.533 MB / 0.5472 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002252/0.1677, allocations: 0.9068 MB / 0.5481 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.1679, allocations: 11.92 kB / 0.5481 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.17, allocations: 1.529 MB / 0.5496 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009356/0.1709, allocations: 0.754 MB / 0.5503 GB, free: 9.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007024/0.1716, allocations: 0.5174 MB / 0.5509 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001949/0.1736, allocations: 1.613 MB / 0.5524 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.1739, allocations: 92 kB / 0.5525 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007648/0.1747, allocations: 311.6 kB / 0.5528 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007554/0.1755, allocations: 0.701 MB / 0.5535 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000933/0.1764, allocations: 0.869 MB / 0.5543 GB, free: 5.145 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.1799, allocations: 2.804 MB / 0.5571 GB, free: 2.328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.18, allocations: 0 / 0.5571 GB, free: 2.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.418e-06/0.18, allocations: 0 / 0.5571 GB, free: 2.328 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.96e-05/0.18, allocations: 3.938 kB / 0.5571 GB, free: 2.324 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.003578/0.1836, allocations: 2.105 MB / 0.5591 GB, free: 160 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.1837, allocations: 12.03 kB / 0.5592 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00525/0.1889, allocations: 1.509 MB / 0.5606 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.1906, allocations: 0.8607 MB / 0.5615 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.1907, allocations: 82.47 kB / 0.5615 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.1909, allocations: 119.8 kB / 0.5617 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007342/0.1983, allocations: 4.972 MB / 0.5665 GB, free: 8.086 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/0.1984, allocations: 19.81 kB / 0.5665 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001944/0.1986, allocations: 63.89 kB / 0.5666 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/0.2006, allocations: 1.185 MB / 0.5678 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007452/0.2081, allocations: 4.25 MB / 0.5719 GB, free: 2.562 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02259/0.2307, allocations: 20.55 MB / 0.592 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.2323, allocations: 1.227 MB / 0.5932 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/0.2328, allocations: 391.2 kB / 0.5935 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.2328, allocations: 11.94 kB / 0.5936 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2329, allocations: 30.56 kB / 0.5936 GB, free: 11.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.076e-06/0.2329, allocations: 0 / 0.5936 GB, free: 11.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001759/0.2346, allocations: 1.162 MB / 0.5947 GB, free: 10.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.2347, allocations: 132.5 kB / 0.5948 GB, free: 10.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003241/0.238, allocations: 2.441 MB / 0.5972 GB, free: 7.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.238, allocations: 33.7 kB / 0.5973 GB, free: 7.617 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.2395, allocations: 1.866 MB / 0.5991 GB, free: 5.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.2399, allocations: 317.8 kB / 0.5994 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.2409, allocations: 0.7979 MB / 0.6002 GB, free: 4.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.2411, allocations: 349.9 kB / 0.6005 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.2426, allocations: 1.038 MB / 0.6015 GB, free: 3.227 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3272/0.5698, allocations: 3.684 MB / 0.6051 GB, free: 56.08 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006339/0.5762, allocations: 5.164 MB / 0.6102 GB, free: 51.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001801/0.5764, allocations: 28.06 kB / 0.6102 GB, free: 51.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.009563/0.586, allocations: 4.459 MB / 0.6145 GB, free: 50.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.5861, allocations: 46.53 kB / 0.6146 GB, free: 50.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002524/0.5864, allocations: 94.78 kB / 0.6147 GB, free: 50.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.5867, allocations: 123.8 kB / 0.6148 GB, free: 50.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/0.5896, allocations: 0.87 MB / 0.6156 GB, free: 49.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003003/0.5899, allocations: 183.1 kB / 0.6158 GB, free: 49.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.5926, allocations: 0.5723 MB / 0.6164 GB, free: 49.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/0.593, allocations: 252.5 kB / 0.6166 GB, free: 49.77 MB / 462.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.001573/0.5946, allocations: 1.19 MB / 0.6178 GB, free: 49.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.5949, allocations: 195.3 kB / 0.618 GB, free: 49.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003273/0.5952, allocations: 221.6 kB / 0.6182 GB, free: 49.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.956e-05/0.5953, allocations: 16 kB / 0.6182 GB, free: 49.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5953, allocations: 2.047 kB / 0.6182 GB, free: 49.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5953, allocations: 2.766 kB / 0.6182 GB, free: 49.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.5988, allocations: 2.066 MB / 0.6202 GB, free: 48.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5988, allocations: 5.281 kB / 0.6202 GB, free: 48.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.5991, allocations: 64.52 kB / 0.6203 GB, free: 48.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.5991, allocations: 6.188 kB / 0.6203 GB, free: 48.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.5991, allocations: 10.17 kB / 0.6203 GB, free: 48.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.5992, allocations: 3.203 kB / 0.6203 GB, free: 48.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5992, allocations: 1.562 kB / 0.6203 GB, free: 48.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.6004, allocations: 1.206 MB / 0.6215 GB, free: 47.47 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.6008, allocations: 262.9 kB / 0.6217 GB, free: 47.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.601, allocations: 8.109 kB / 0.6217 GB, free: 47.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.6015, allocations: 17.77 kB / 0.6217 GB, free: 47.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.791e-05/0.6016, allocations: 24.84 kB / 0.6218 GB, free: 47.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/0.6016, allocations: 26.5 kB / 0.6218 GB, free: 47.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.6036, allocations: 1.488 MB / 0.6233 GB, free: 46.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.6036, allocations: 0 / 0.6233 GB, free: 46.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002634/0.6062, allocations: 0.5272 MB / 0.6238 GB, free: 46.6 MB / 462.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.0002873/0.6065, allocations: 128.5 kB / 0.6239 GB, free: 46.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003402/0.6099, allocations: 2.352 MB / 0.6262 GB, free: 45.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6099, allocations: 1.812 kB / 0.6262 GB, free: 45.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004052/0.6103, allocations: 375.9 kB / 0.6265 GB, free: 45.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009704/0.6113, allocations: 170.7 kB / 0.6267 GB, free: 45.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.6179, allocations: 4.069 MB / 0.6307 GB, free: 43.76 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001897/0.6199, allocations: 1.862 MB / 0.6325 GB, free: 42.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002228/0.6221, allocations: 1.259 MB / 0.6337 GB, free: 42.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.6224, allocations: 130.9 kB / 0.6339 GB, free: 42.68 MB / 462.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6224, allocations: 0 / 0.6339 GB, free: 42.68 MB / 462.1 MB Notification: Performance of Templates: time 0.02606/0.6485, allocations: 13.04 MB / 0.6466 GB, free: 31.66 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 6.069228361360729]