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.001578/0.001578, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001816/0.001816, allocations: 213 kB / 23.73 MB, free: 4.164 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.552/1.552, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.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.2297/0.2297, allocations: 46.96 MB / 360.8 MB, free: 3.93 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.00254/0.00254, allocations: 75.88 kB / 0.4966 GB, free: 7.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4168, allocations: 66.08 MB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007314/0.4241, allocations: 4.842 MB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.4282, allocations: 1.702 MB / 0.5675 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005099/0.4288, allocations: 23.94 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.4301, allocations: 0.5369 MB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.4322, allocations: 0.9262 MB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.4323, allocations: 11.98 kB / 0.569 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00202/0.4344, allocations: 1.518 MB / 0.5705 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009694/0.4353, allocations: 0.7494 MB / 0.5712 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000818/0.4361, allocations: 0.5291 MB / 0.5717 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.4383, allocations: 1.687 MB / 0.5734 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.4386, allocations: 88 kB / 0.5735 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.4392, allocations: 223.7 kB / 0.5737 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007139/0.4399, allocations: 0.7203 MB / 0.5744 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006505/0.4406, allocations: 0.5931 MB / 0.575 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.4437, allocations: 2.81 MB / 0.5777 GB, free: 2.945 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.4438, allocations: 0 / 0.5777 GB, free: 2.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4438, allocations: 4 kB / 0.5777 GB, free: 2.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.4438, allocations: 0 / 0.5777 GB, free: 2.941 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.003131/0.4469, allocations: 2.03 MB / 0.5797 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.447, allocations: 8.031 kB / 0.5797 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/0.4521, allocations: 1.516 MB / 0.5812 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.454, allocations: 0.8004 MB / 0.582 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/0.4541, allocations: 86.47 kB / 0.582 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.4544, allocations: 111.8 kB / 0.5822 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006448/0.4608, allocations: 4.98 MB / 0.587 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.514e-05/0.4608, allocations: 23.81 kB / 0.587 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.461, allocations: 63.91 kB / 0.5871 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001894/0.4629, allocations: 1.185 MB / 0.5883 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0071/0.47, allocations: 4.246 MB / 0.5924 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02406/0.4941, allocations: 19.38 MB / 0.6113 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.4956, allocations: 0.7253 MB / 0.612 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.4961, allocations: 343.3 kB / 0.6124 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.4961, allocations: 7.938 kB / 0.6124 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.4961, allocations: 50.48 kB / 0.6124 GB, free: 14.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.547e-06/0.4961, allocations: 0 / 0.6124 GB, free: 14.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.002102/0.4982, allocations: 1.135 MB / 0.6135 GB, free: 12.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.4984, allocations: 140.5 kB / 0.6137 GB, free: 12.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/0.5022, allocations: 2.313 MB / 0.6159 GB, free: 10.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.5023, allocations: 33.7 kB / 0.616 GB, free: 10.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.5041, allocations: 1.893 MB / 0.6178 GB, free: 8.426 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004631/0.5045, allocations: 313.8 kB / 0.6181 GB, free: 8.117 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001209/0.5058, allocations: 0.7978 MB / 0.6189 GB, free: 7.312 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002452/0.506, allocations: 330 kB / 0.6192 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.5076, allocations: 1.031 MB / 0.6202 GB, free: 5.953 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004212/0.5118, allocations: 3.691 MB / 0.6238 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007255/0.519, allocations: 5.164 MB / 0.6289 GB, free: 10.43 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.5192, allocations: 28 kB / 0.6289 GB, free: 10.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01128/0.5304, allocations: 4.437 MB / 0.6332 GB, free: 5.965 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.5306, allocations: 54.12 kB / 0.6333 GB, free: 5.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002049/0.5308, allocations: 96.84 kB / 0.6334 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001739/0.5309, allocations: 124 kB / 0.6335 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/0.5338, allocations: 0.8694 MB / 0.6343 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001927/0.534, allocations: 183.3 kB / 0.6345 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/0.5369, allocations: 0.539 MB / 0.635 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005775/0.5375, allocations: 252 kB / 0.6353 GB, free: 3.859 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.00228/0.5398, allocations: 1.188 MB / 0.6364 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.5402, allocations: 178.8 kB / 0.6366 GB, free: 2.484 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004321/0.5406, allocations: 195.9 kB / 0.6368 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/0.5406, allocations: 19.98 kB / 0.6368 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5406, allocations: 0 / 0.6368 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.5407, allocations: 7.984 kB / 0.6368 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/0.5446, allocations: 1.642 MB / 0.6384 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.5446, allocations: 4.047 kB / 0.6384 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.5449, allocations: 63.88 kB / 0.6385 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.5449, allocations: 7.938 kB / 0.6385 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.5449, allocations: 8 kB / 0.6385 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.5449, allocations: 4 kB / 0.6385 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5449, allocations: 0 / 0.6385 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.5465, allocations: 1.192 MB / 0.6397 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.5469, allocations: 154.7 kB / 0.6398 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/0.5471, allocations: 12 kB / 0.6398 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.5476, allocations: 15.98 kB / 0.6398 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.5477, allocations: 28.05 kB / 0.6399 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.5477, allocations: 23.88 kB / 0.6399 GB, free: 15.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001968/0.5497, allocations: 1.292 MB / 0.6411 GB, free: 13.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5497, allocations: 0 / 0.6411 GB, free: 13.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002707/0.5524, allocations: 0.5496 MB / 0.6417 GB, free: 13.18 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.0003008/0.5527, allocations: 123.1 kB / 0.6418 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003979/0.5567, allocations: 2.257 MB / 0.644 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5567, allocations: 8.188 kB / 0.644 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.5572, allocations: 339.7 kB / 0.6443 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.5582, allocations: 142.1 kB / 0.6445 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/0.5656, allocations: 4.043 MB / 0.6484 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002143/0.5678, allocations: 1.283 MB / 0.6497 GB, free: 4.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002724/0.5705, allocations: 1.219 MB / 0.6509 GB, free: 3.699 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.5708, allocations: 123.4 kB / 0.651 GB, free: 3.578 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5708, allocations: 0 / 0.651 GB, free: 3.578 MB / 494.1 MB Notification: Performance of Templates: time 0.02951/0.6003, allocations: 13.58 MB / 0.6642 GB, free: 6.195 MB / 0.4981 GB " [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.1.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.049810636788607]