Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001697/0.001697, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001832/0.001832, allocations: 211 kB / 24.48 MB, free: 3.938 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.491/1.491, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2138/0.2138, allocations: 44.95 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 71.89 kB / 0.4942 GB, free: 10.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3579, allocations: 65.48 MB / 0.5582 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006893/0.3648, allocations: 4.845 MB / 0.5629 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003626/0.3684, allocations: 1.698 MB / 0.5646 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004787/0.3689, allocations: 23.94 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.3702, allocations: 0.5329 MB / 0.5651 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.3721, allocations: 0.9301 MB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000101/0.3722, allocations: 12 kB / 0.566 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.3741, allocations: 1.526 MB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009145/0.375, allocations: 0.7417 MB / 0.5682 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006782/0.3757, allocations: 0.5291 MB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.3777, allocations: 1.687 MB / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.3779, allocations: 88 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.3785, allocations: 227.6 kB / 0.5707 GB, free: 10.63 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006569/0.3792, allocations: 0.7242 MB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000598/0.3798, allocations: 0.5892 MB / 0.572 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003014/0.3828, allocations: 2.81 MB / 0.5747 GB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3828, allocations: 0 / 0.5747 GB, free: 6.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3828, allocations: 0 / 0.5747 GB, free: 6.492 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.403e-05/0.3828, allocations: 0 / 0.5747 GB, free: 6.492 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.002955/0.3858, allocations: 2.033 MB / 0.5767 GB, free: 4.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3858, allocations: 8.031 kB / 0.5767 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004962/0.3908, allocations: 1.516 MB / 0.5782 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.3927, allocations: 0.8004 MB / 0.579 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.922e-05/0.3928, allocations: 90.45 kB / 0.5791 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.393, allocations: 115.8 kB / 0.5792 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006622/0.3996, allocations: 4.968 MB / 0.584 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.751e-05/0.3997, allocations: 23.81 kB / 0.5841 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001733/0.3998, allocations: 67.83 kB / 0.5841 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001932/0.4018, allocations: 1.181 MB / 0.5853 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007011/0.4088, allocations: 4.25 MB / 0.5894 GB, free: 6.891 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02229/0.4311, allocations: 19.38 MB / 0.6084 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.4324, allocations: 0.7292 MB / 0.6091 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.4329, allocations: 347.1 kB / 0.6094 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.4329, allocations: 4 kB / 0.6094 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.4329, allocations: 46.44 kB / 0.6094 GB, free: 1.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 3.587e-06/0.4329, allocations: 0 / 0.6094 GB, free: 1.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001768/0.4347, allocations: 1.139 MB / 0.6106 GB, free: 472 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/0.4348, allocations: 136.5 kB / 0.6107 GB, free: 304 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003027/0.4378, allocations: 2.317 MB / 0.6129 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.4379, allocations: 33.7 kB / 0.613 GB, free: 13.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.4393, allocations: 1.897 MB / 0.6148 GB, free: 11.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.4396, allocations: 317.8 kB / 0.6151 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009495/0.4406, allocations: 0.7939 MB / 0.6159 GB, free: 10.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4408, allocations: 330 kB / 0.6162 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.4423, allocations: 1.034 MB / 0.6172 GB, free: 9.492 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003776/0.446, allocations: 3.687 MB / 0.6208 GB, free: 4.477 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005908/0.4519, allocations: 5.158 MB / 0.6259 GB, free: 13.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.871e-05/0.452, allocations: 28 kB / 0.6259 GB, free: 13.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007343/0.4593, allocations: 4.434 MB / 0.6302 GB, free: 9.523 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.4594, allocations: 51.94 kB / 0.6303 GB, free: 9.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/0.4595, allocations: 96 kB / 0.6304 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.4597, allocations: 124 kB / 0.6305 GB, free: 9.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/0.462, allocations: 0.8656 MB / 0.6313 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001548/0.4622, allocations: 187.2 kB / 0.6315 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.4646, allocations: 0.5433 MB / 0.632 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003722/0.4649, allocations: 256 kB / 0.6323 GB, free: 7.41 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.001768/0.4667, allocations: 1.188 MB / 0.6334 GB, free: 6.207 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.467, allocations: 174.8 kB / 0.6336 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.4673, allocations: 199.9 kB / 0.6338 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-05/0.4674, allocations: 20 kB / 0.6338 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.4674, allocations: 0 / 0.6338 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.4674, allocations: 7.984 kB / 0.6338 GB, free: 5.812 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.4706, allocations: 1.648 MB / 0.6354 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.4706, allocations: 4 kB / 0.6354 GB, free: 4.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.4709, allocations: 63.89 kB / 0.6355 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.4709, allocations: 4 kB / 0.6355 GB, free: 4.051 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.427e-05/0.471, allocations: 12 kB / 0.6355 GB, free: 4.039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.471, allocations: 4 kB / 0.6355 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.471, allocations: 0 / 0.6355 GB, free: 4.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.4722, allocations: 1.18 MB / 0.6367 GB, free: 2.832 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/0.4725, allocations: 150.7 kB / 0.6368 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.4727, allocations: 15.92 kB / 0.6368 GB, free: 2.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.4731, allocations: 19.97 kB / 0.6369 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.4732, allocations: 27.95 kB / 0.6369 GB, free: 2.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.4732, allocations: 19.94 kB / 0.6369 GB, free: 2.602 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001747/0.475, allocations: 1.3 MB / 0.6382 GB, free: 1.277 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.475, allocations: 0 / 0.6382 GB, free: 1.277 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003109/0.4781, allocations: 0.5456 MB / 0.6387 GB, free: 0.7305 MB / 478.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.0003783/0.4785, allocations: 127.1 kB / 0.6388 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003929/0.4824, allocations: 2.258 MB / 0.641 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.4824, allocations: 0 / 0.641 GB, free: 14.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.4829, allocations: 335.7 kB / 0.6413 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.484, allocations: 155.6 kB / 0.6415 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007248/0.4912, allocations: 4.277 MB / 0.6457 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.4929, allocations: 1.287 MB / 0.6469 GB, free: 8.219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.4934, allocations: 155.4 kB / 0.6471 GB, free: 8.066 MB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/0.4934, allocations: 0 / 0.6471 GB, free: 8.066 MB / 494.1 MB Notification: Performance of Templates: time 0.0461/0.5395, allocations: 27.77 MB / 0.6742 GB, free: 12.34 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.922525310888886]