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.001772/0.001772, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002345/0.002345, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.2206/0.2206, allocations: 46.95 MB / 361.6 MB, free: 4.32 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.001932/0.001932, allocations: 67.91 kB / 0.4974 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3292, allocations: 66.02 MB / 0.5618 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007225/0.3365, allocations: 5.448 MB / 0.5672 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003739/0.3402, allocations: 1.826 MB / 0.569 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/0.3408, allocations: 23.94 kB / 0.569 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.3421, allocations: 0.5485 MB / 0.5695 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.3444, allocations: 0.9263 MB / 0.5704 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.3445, allocations: 23.91 kB / 0.5704 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002214/0.3467, allocations: 1.518 MB / 0.5719 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.3479, allocations: 0.7407 MB / 0.5726 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008523/0.3487, allocations: 0.533 MB / 0.5732 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.3511, allocations: 1.699 MB / 0.5748 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003105/0.3514, allocations: 88 kB / 0.5749 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.3521, allocations: 331.5 kB / 0.5752 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007167/0.3528, allocations: 0.7164 MB / 0.5759 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008849/0.3537, allocations: 0.8651 MB / 0.5768 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003268/0.357, allocations: 2.819 MB / 0.5795 GB, free: 2.266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.357, allocations: 0 / 0.5795 GB, free: 2.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.357, allocations: 0 / 0.5795 GB, free: 2.266 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.049e-05/0.357, allocations: 0 / 0.5795 GB, free: 2.266 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.003211/0.3603, allocations: 2.03 MB / 0.5815 GB, free: 196 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.3603, allocations: 8.031 kB / 0.5815 GB, free: 188 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004869/0.3652, allocations: 1.512 MB / 0.583 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/0.367, allocations: 0.7965 MB / 0.5838 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-05/0.367, allocations: 86.47 kB / 0.5838 GB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002288/0.3673, allocations: 111.8 kB / 0.584 GB, free: 13.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00695/0.3742, allocations: 4.976 MB / 0.5888 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.3743, allocations: 19.81 kB / 0.5888 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.3744, allocations: 67.91 kB / 0.5889 GB, free: 8.121 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001912/0.3763, allocations: 1.181 MB / 0.59 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007164/0.3835, allocations: 4.254 MB / 0.5942 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/0.4083, allocations: 20.47 MB / 0.6142 GB, free: 13.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.4097, allocations: 0.7392 MB / 0.6149 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.4102, allocations: 347.2 kB / 0.6152 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4102, allocations: 7.938 kB / 0.6153 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.4102, allocations: 38.56 kB / 0.6153 GB, free: 12.26 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 4.619e-06/0.4102, allocations: 0 / 0.6153 GB, free: 12.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.0019/0.4121, allocations: 1.166 MB / 0.6164 GB, free: 11.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4122, allocations: 132.5 kB / 0.6166 GB, free: 10.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/0.4158, allocations: 2.433 MB / 0.6189 GB, free: 8.461 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.139e-05/0.4158, allocations: 33.7 kB / 0.619 GB, free: 8.422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.4174, allocations: 1.87 MB / 0.6208 GB, free: 6.531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/0.4178, allocations: 313.8 kB / 0.6211 GB, free: 6.223 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009839/0.4188, allocations: 0.7939 MB / 0.6219 GB, free: 5.422 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002459/0.4191, allocations: 350 kB / 0.6222 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.4206, allocations: 1.038 MB / 0.6232 GB, free: 4.035 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004016/0.4246, allocations: 3.691 MB / 0.6268 GB, free: 15.02 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007092/0.4317, allocations: 5.161 MB / 0.6319 GB, free: 8.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.46e-05/0.4318, allocations: 32 kB / 0.6319 GB, free: 8.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008449/0.4403, allocations: 4.46 MB / 0.6362 GB, free: 4.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.343e-05/0.4403, allocations: 51.98 kB / 0.6363 GB, free: 3.977 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/0.4405, allocations: 92 kB / 0.6364 GB, free: 3.887 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001506/0.4406, allocations: 124 kB / 0.6365 GB, free: 3.766 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.4432, allocations: 0.8694 MB / 0.6373 GB, free: 2.895 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001557/0.4433, allocations: 183.9 kB / 0.6375 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.446, allocations: 0.57 MB / 0.6381 GB, free: 2.141 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003894/0.4463, allocations: 256 kB / 0.6383 GB, free: 1.891 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.001799/0.4481, allocations: 1.188 MB / 0.6395 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/0.4485, allocations: 202.6 kB / 0.6397 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/0.4488, allocations: 213.8 kB / 0.6399 GB, free: 292 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.745e-05/0.4489, allocations: 23.98 kB / 0.6399 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.4489, allocations: 0 / 0.6399 GB, free: 268 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.4489, allocations: 8 kB / 0.6399 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003745/0.4526, allocations: 2.04 MB / 0.6419 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4526, allocations: 0 / 0.6419 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.4529, allocations: 59.91 kB / 0.642 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4529, allocations: 0 / 0.642 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.453, allocations: 15.98 kB / 0.642 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.453, allocations: 0 / 0.642 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.453, allocations: 0 / 0.642 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.4544, allocations: 1.209 MB / 0.6432 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003933/0.4548, allocations: 182.5 kB / 0.6433 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.4549, allocations: 8 kB / 0.6433 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000457/0.4554, allocations: 15.98 kB / 0.6434 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.4555, allocations: 27.89 kB / 0.6434 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.4555, allocations: 27.98 kB / 0.6434 GB, free: 12.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002058/0.4576, allocations: 1.49 MB / 0.6449 GB, free: 11.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4576, allocations: 0 / 0.6449 GB, free: 11.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002656/0.4602, allocations: 0.5303 MB / 0.6454 GB, free: 10.56 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.0003/0.4605, allocations: 123.1 kB / 0.6455 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00385/0.4644, allocations: 2.261 MB / 0.6477 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4644, allocations: 0.9375 kB / 0.6477 GB, free: 8.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.4648, allocations: 340.1 kB / 0.648 GB, free: 7.859 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.4661, allocations: 183.6 kB / 0.6482 GB, free: 7.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008426/0.4746, allocations: 4.32 MB / 0.6524 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/0.477, allocations: 1.861 MB / 0.6542 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005416/0.4775, allocations: 171.4 kB / 0.6544 GB, free: 1.234 MB / 494.1 MB Notification: Performance of SimCode: time 1.162e-06/0.4775, allocations: 0 / 0.6544 GB, free: 1.234 MB / 494.1 MB Notification: Performance of Templates: time 0.05056/0.5281, allocations: 28.06 MB / 0.6818 GB, free: 5.227 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.386352736037225]