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.001799/0.001799, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002081/0.002081, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.626/1.626, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.246/0.246, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.002591/0.002591, allocations: 63.91 kB / 0.4914 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1858, allocations: 66 MB / 0.5558 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01016/0.196, allocations: 5.418 MB / 0.5611 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005022/0.201, allocations: 1.822 MB / 0.5629 GB, free: 14.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000619/0.2016, allocations: 19.94 kB / 0.5629 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001664/0.2033, allocations: 0.5407 MB / 0.5634 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.2063, allocations: 0.9262 MB / 0.5643 GB, free: 12.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.2064, allocations: 8 kB / 0.5644 GB, free: 12.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002655/0.209, allocations: 1.521 MB / 0.5658 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.2103, allocations: 0.6721 MB / 0.5665 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.2113, allocations: 0.5369 MB / 0.567 GB, free: 9.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00311/0.2144, allocations: 1.703 MB / 0.5687 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003461/0.2148, allocations: 92 kB / 0.5688 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009461/0.2157, allocations: 323.5 kB / 0.5691 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.2168, allocations: 0.7203 MB / 0.5698 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.218, allocations: 0.869 MB / 0.5706 GB, free: 6.117 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.2225, allocations: 2.804 MB / 0.5734 GB, free: 3.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2225, allocations: 0 / 0.5734 GB, free: 3.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2225, allocations: 0 / 0.5734 GB, free: 3.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.573e-05/0.2226, allocations: 0 / 0.5734 GB, free: 3.301 MB / 430.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.004447/0.227, allocations: 2.109 MB / 0.5754 GB, free: 1.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.2271, allocations: 16.02 kB / 0.5754 GB, free: 1.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008018/0.2351, allocations: 1.512 MB / 0.5769 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.2373, allocations: 0.8452 MB / 0.5777 GB, free: 14.71 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.971e-05/0.2374, allocations: 90.45 kB / 0.5778 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003359/0.2377, allocations: 115.8 kB / 0.5779 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.2478, allocations: 4.976 MB / 0.5828 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.175e-05/0.2479, allocations: 27.75 kB / 0.5828 GB, free: 9.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002275/0.2481, allocations: 63.88 kB / 0.5829 GB, free: 8.969 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001993/0.2501, allocations: 1.182 MB / 0.584 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006608/0.2567, allocations: 4.254 MB / 0.5882 GB, free: 3.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.305/0.5617, allocations: 20.55 MB / 0.6083 GB, free: 17.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.5631, allocations: 1.176 MB / 0.6094 GB, free: 16.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.5636, allocations: 351.7 kB / 0.6097 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.5636, allocations: 4.312 kB / 0.6098 GB, free: 16.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5637, allocations: 43.27 kB / 0.6098 GB, free: 16.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.336e-06/0.5637, allocations: 4.688 kB / 0.6098 GB, free: 16.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002071/0.5657, allocations: 1.152 MB / 0.6109 GB, free: 16.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.5658, allocations: 137 kB / 0.6111 GB, free: 15.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003637/0.5694, allocations: 2.437 MB / 0.6134 GB, free: 15.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.5695, allocations: 31.17 kB / 0.6135 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.5708, allocations: 1.872 MB / 0.6153 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.5711, allocations: 317 kB / 0.6156 GB, free: 13.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009898/0.5721, allocations: 0.7942 MB / 0.6164 GB, free: 13.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5722, allocations: 356.5 kB / 0.6167 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.5738, allocations: 1.032 MB / 0.6177 GB, free: 12.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.5764, allocations: 3.686 MB / 0.6213 GB, free: 8.566 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005277/0.5817, allocations: 5.165 MB / 0.6264 GB, free: 3.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001584/0.5818, allocations: 27.09 kB / 0.6264 GB, free: 3.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01214/0.594, allocations: 4.463 MB / 0.6307 GB, free: 2.004 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.814e-05/0.5941, allocations: 49.19 kB / 0.6308 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/0.5942, allocations: 94.31 kB / 0.6309 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.5945, allocations: 122.6 kB / 0.631 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004277/0.5987, allocations: 0.8734 MB / 0.6319 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002383/0.599, allocations: 185.6 kB / 0.632 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004794/0.6038, allocations: 0.5664 MB / 0.6326 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009212/0.6047, allocations: 253.3 kB / 0.6328 GB, free: 1.445 MB / 446.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.002944/0.6076, allocations: 1.191 MB / 0.634 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006738/0.6083, allocations: 192 kB / 0.6342 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007518/0.6091, allocations: 222.7 kB / 0.6344 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.054e-05/0.6091, allocations: 19.25 kB / 0.6344 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.246e-05/0.6092, allocations: 6.016 kB / 0.6344 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/0.6092, allocations: 8.031 kB / 0.6344 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005841/0.615, allocations: 2.072 MB / 0.6364 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.615, allocations: 0 / 0.6364 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004225/0.6155, allocations: 68.69 kB / 0.6365 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.6155, allocations: 3.062 kB / 0.6365 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.6155, allocations: 11 kB / 0.6365 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.6155, allocations: 3.531 kB / 0.6365 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6155, allocations: 0 / 0.6365 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.6175, allocations: 1.207 MB / 0.6377 GB, free: 15.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/0.6182, allocations: 262.2 kB / 0.6379 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.6184, allocations: 7.672 kB / 0.638 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005071/0.6189, allocations: 18.55 kB / 0.638 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.619, allocations: 22.89 kB / 0.638 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.383e-05/0.619, allocations: 25.84 kB / 0.638 GB, free: 14.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003107/0.6221, allocations: 1.486 MB / 0.6395 GB, free: 14.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6221, allocations: 0 / 0.6395 GB, free: 14.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005337/0.6275, allocations: 0.5265 MB / 0.64 GB, free: 13.99 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.0005028/0.628, allocations: 127 kB / 0.6401 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006258/0.6342, allocations: 2.266 MB / 0.6423 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.6342, allocations: 448 / 0.6423 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.6347, allocations: 349.3 kB / 0.6427 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.6367, allocations: 167.1 kB / 0.6428 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.6472, allocations: 4.064 MB / 0.6468 GB, free: 7.004 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/0.6501, allocations: 1.86 MB / 0.6486 GB, free: 5.117 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004629/0.6547, allocations: 1.255 MB / 0.6498 GB, free: 3.863 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/0.6552, allocations: 139.4 kB / 0.65 GB, free: 3.727 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6552, allocations: 0 / 0.65 GB, free: 3.727 MB / 462.1 MB Notification: Performance of Templates: time 0.04824/0.7034, allocations: 13.25 MB / 0.6629 GB, free: 6.527 MB / 478.1 MB " [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/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_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: 6.469458777457476]