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.001394/0.001394, 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.001585/0.001585, allocations: 210 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.487/1.487, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2412/0.2412, allocations: 46.96 MB / 361.6 MB, free: 4.137 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.002092/0.002092, allocations: 67.89 kB / 0.4973 GB, free: 7.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3904, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007025/0.3974, allocations: 4.848 MB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.4012, allocations: 1.702 MB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004319/0.4016, allocations: 23.94 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.4029, allocations: 0.533 MB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.4049, allocations: 0.9262 MB / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001023/0.405, allocations: 11.98 kB / 0.5696 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001842/0.4068, allocations: 1.518 MB / 0.5711 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009179/0.4078, allocations: 0.7455 MB / 0.5719 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006769/0.4084, allocations: 0.5369 MB / 0.5724 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002047/0.4105, allocations: 1.683 MB / 0.574 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002434/0.4107, allocations: 88 kB / 0.5741 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005738/0.4113, allocations: 227.7 kB / 0.5743 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006606/0.412, allocations: 0.7203 MB / 0.575 GB, free: 6.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006043/0.4126, allocations: 0.5931 MB / 0.5756 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003091/0.4157, allocations: 2.81 MB / 0.5784 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4157, allocations: 0 / 0.5784 GB, free: 3.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4157, allocations: 0 / 0.5784 GB, free: 3.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.67e-05/0.4157, allocations: 0 / 0.5784 GB, free: 3.145 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.003168/0.4189, allocations: 2.03 MB / 0.5803 GB, free: 1.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4189, allocations: 8.031 kB / 0.5803 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005058/0.424, allocations: 1.52 MB / 0.5818 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.4261, allocations: 0.8004 MB / 0.5826 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.4261, allocations: 90.47 kB / 0.5827 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/0.4264, allocations: 111.8 kB / 0.5828 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006511/0.4329, allocations: 4.976 MB / 0.5877 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.4329, allocations: 27.8 kB / 0.5877 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.4331, allocations: 59.91 kB / 0.5877 GB, free: 8.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001933/0.435, allocations: 1.181 MB / 0.5889 GB, free: 7.797 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00688/0.4419, allocations: 4.25 MB / 0.593 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02154/0.4635, allocations: 19.37 MB / 0.612 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.4648, allocations: 0.7369 MB / 0.6127 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/0.4652, allocations: 343.3 kB / 0.613 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.4652, allocations: 7.938 kB / 0.613 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.4653, allocations: 42.5 kB / 0.6131 GB, free: 14.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.735e-06/0.4653, allocations: 0 / 0.6131 GB, free: 14.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001706/0.467, allocations: 1.145 MB / 0.6142 GB, free: 13.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/0.4671, allocations: 136.5 kB / 0.6143 GB, free: 12.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/0.4702, allocations: 2.313 MB / 0.6166 GB, free: 10.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.4703, allocations: 33.7 kB / 0.6166 GB, free: 10.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.4718, allocations: 1.897 MB / 0.6185 GB, free: 8.621 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.4721, allocations: 313.8 kB / 0.6188 GB, free: 8.312 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009638/0.473, allocations: 0.8017 MB / 0.6195 GB, free: 7.504 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4732, allocations: 330 kB / 0.6198 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4746, allocations: 1.03 MB / 0.6209 GB, free: 6.145 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003849/0.4785, allocations: 3.691 MB / 0.6245 GB, free: 1.125 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006353/0.4848, allocations: 5.16 MB / 0.6295 GB, free: 10.63 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.735e-05/0.4849, allocations: 28 kB / 0.6295 GB, free: 10.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007821/0.4928, allocations: 4.431 MB / 0.6339 GB, free: 6.172 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.596e-05/0.4928, allocations: 51.94 kB / 0.6339 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001145/0.493, allocations: 96.09 kB / 0.634 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.4931, allocations: 127.9 kB / 0.6341 GB, free: 5.902 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.4955, allocations: 0.8655 MB / 0.635 GB, free: 5.035 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001639/0.4957, allocations: 183.3 kB / 0.6351 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/0.4983, allocations: 0.543 MB / 0.6357 GB, free: 4.309 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003507/0.4987, allocations: 248 kB / 0.6359 GB, free: 4.066 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.001785/0.5005, allocations: 1.2 MB / 0.6371 GB, free: 2.855 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.5008, allocations: 174.8 kB / 0.6372 GB, free: 2.684 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.5011, allocations: 199.9 kB / 0.6374 GB, free: 2.488 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.632e-05/0.5011, allocations: 16 kB / 0.6374 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.5011, allocations: 0 / 0.6374 GB, free: 2.473 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.5011, allocations: 3.984 kB / 0.6375 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003319/0.5045, allocations: 1.64 MB / 0.6391 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5045, allocations: 4 kB / 0.6391 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.5048, allocations: 59.89 kB / 0.6391 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.5048, allocations: 4.047 kB / 0.6391 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.5048, allocations: 15.92 kB / 0.6391 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-05/0.5048, allocations: 8 kB / 0.6391 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5048, allocations: 0 / 0.6391 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.5061, allocations: 1.195 MB / 0.6403 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.5064, allocations: 150.7 kB / 0.6405 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.5066, allocations: 11.98 kB / 0.6405 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004706/0.5071, allocations: 15.98 kB / 0.6405 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.5071, allocations: 27.95 kB / 0.6405 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.5072, allocations: 19.94 kB / 0.6405 GB, free: 15.26 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.509, allocations: 1.292 MB / 0.6418 GB, free: 13.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.509, allocations: 0 / 0.6418 GB, free: 13.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003025/0.512, allocations: 0.5496 MB / 0.6423 GB, free: 13.39 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.0003211/0.5123, allocations: 123.1 kB / 0.6424 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003932/0.5163, allocations: 2.26 MB / 0.6446 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.5163, allocations: 0 / 0.6446 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.5167, allocations: 348 kB / 0.645 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.5178, allocations: 155.4 kB / 0.6451 GB, free: 10.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007702/0.5256, allocations: 4.282 MB / 0.6493 GB, free: 6.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001781/0.5273, allocations: 1.279 MB / 0.6506 GB, free: 4.875 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/0.5278, allocations: 163.4 kB / 0.6507 GB, free: 4.715 MB / 494.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5278, allocations: 3.938 kB / 0.6507 GB, free: 4.711 MB / 494.1 MB Notification: Performance of Templates: time 0.04828/0.5761, allocations: 27.76 MB / 0.6778 GB, free: 8.996 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: 10.280313584022224]