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.001917/0.001917, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002454/0.002454, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2256/0.2256, allocations: 46.96 MB / 361.6 MB, free: 3.98 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.001989/0.001989, allocations: 67.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3221, allocations: 66.04 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006645/0.3288, allocations: 4.845 MB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0035/0.3323, allocations: 1.698 MB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.3327, allocations: 23.94 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.334, allocations: 0.5369 MB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.336, allocations: 0.934 MB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.3361, allocations: 8 kB / 0.5697 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.3379, allocations: 1.522 MB / 0.5711 GB, free: 10.53 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009189/0.3389, allocations: 0.7368 MB / 0.5719 GB, free: 9.781 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006791/0.3395, allocations: 0.5369 MB / 0.5724 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/0.3416, allocations: 1.703 MB / 0.574 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.3418, allocations: 88 kB / 0.5741 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.3424, allocations: 223.7 kB / 0.5743 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006843/0.3431, allocations: 0.7281 MB / 0.5751 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000599/0.3437, allocations: 0.5931 MB / 0.5756 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.3467, allocations: 2.815 MB / 0.5784 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3467, allocations: 0 / 0.5784 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3467, allocations: 0 / 0.5784 GB, free: 3.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.106e-05/0.3467, allocations: 4 kB / 0.5784 GB, free: 3.074 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.002949/0.3497, allocations: 2.022 MB / 0.5804 GB, free: 1.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3497, allocations: 8.031 kB / 0.5804 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004814/0.3545, allocations: 1.516 MB / 0.5818 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.3562, allocations: 0.8043 MB / 0.5826 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.596e-05/0.3563, allocations: 86.47 kB / 0.5827 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.3565, allocations: 115.8 kB / 0.5828 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006102/0.3626, allocations: 4.98 MB / 0.5877 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.3627, allocations: 23.8 kB / 0.5877 GB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.3628, allocations: 59.91 kB / 0.5878 GB, free: 8.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001803/0.3646, allocations: 1.185 MB / 0.5889 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006281/0.3709, allocations: 4.25 MB / 0.5931 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02037/0.3913, allocations: 19.37 MB / 0.612 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.3926, allocations: 0.7292 MB / 0.6127 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004619/0.393, allocations: 343.4 kB / 0.613 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.393, allocations: 15.88 kB / 0.613 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.3931, allocations: 42.5 kB / 0.6131 GB, free: 14.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 4.148e-06/0.3931, allocations: 0 / 0.6131 GB, free: 14.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001673/0.3948, allocations: 1.139 MB / 0.6142 GB, free: 13.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.684e-05/0.3948, allocations: 140.5 kB / 0.6143 GB, free: 12.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002846/0.3977, allocations: 2.309 MB / 0.6166 GB, free: 10.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.3977, allocations: 33.7 kB / 0.6166 GB, free: 10.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.3991, allocations: 1.898 MB / 0.6185 GB, free: 8.562 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.3994, allocations: 313.9 kB / 0.6188 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009277/0.4003, allocations: 0.8017 MB / 0.6196 GB, free: 7.445 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4005, allocations: 326 kB / 0.6199 GB, free: 7.121 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.4019, allocations: 1.038 MB / 0.6209 GB, free: 6.082 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003552/0.4055, allocations: 3.691 MB / 0.6245 GB, free: 1.062 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005897/0.4114, allocations: 5.163 MB / 0.6295 GB, free: 10.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.469e-05/0.4114, allocations: 28 kB / 0.6296 GB, free: 10.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007062/0.4185, allocations: 4.433 MB / 0.6339 GB, free: 6.105 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.016e-05/0.4186, allocations: 51.97 kB / 0.6339 GB, free: 6.055 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.4187, allocations: 96 kB / 0.634 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001215/0.4188, allocations: 124 kB / 0.6341 GB, free: 5.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.4211, allocations: 0.8694 MB / 0.635 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001518/0.4212, allocations: 183.3 kB / 0.6352 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.4237, allocations: 0.5351 MB / 0.6357 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003149/0.424, allocations: 248 kB / 0.6359 GB, free: 4.008 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.00164/0.4257, allocations: 1.196 MB / 0.6371 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.426, allocations: 178.8 kB / 0.6373 GB, free: 2.625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003039/0.4263, allocations: 199.9 kB / 0.6375 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.38e-05/0.4263, allocations: 16 kB / 0.6375 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4263, allocations: 0 / 0.6375 GB, free: 2.414 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4263, allocations: 7.984 kB / 0.6375 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.4297, allocations: 1.634 MB / 0.6391 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.4297, allocations: 8 kB / 0.6391 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.4299, allocations: 59.89 kB / 0.6391 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.4299, allocations: 4.047 kB / 0.6391 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.43, allocations: 15.97 kB / 0.6392 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.43, allocations: 8 kB / 0.6392 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.43, allocations: 0 / 0.6392 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.4313, allocations: 1.191 MB / 0.6403 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.4316, allocations: 154.6 kB / 0.6405 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.4318, allocations: 11.98 kB / 0.6405 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004353/0.4322, allocations: 15.98 kB / 0.6405 GB, free: 15.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4323, allocations: 23.95 kB / 0.6405 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.4323, allocations: 23.94 kB / 0.6405 GB, free: 15.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.4341, allocations: 1.292 MB / 0.6418 GB, free: 13.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4341, allocations: 0 / 0.6418 GB, free: 13.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002815/0.437, allocations: 0.5534 MB / 0.6424 GB, free: 13.32 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.0002996/0.4373, allocations: 127.1 kB / 0.6425 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003704/0.441, allocations: 2.26 MB / 0.6447 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.441, allocations: 0 / 0.6447 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.4414, allocations: 339.7 kB / 0.645 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009745/0.4424, allocations: 143.8 kB / 0.6451 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006724/0.4491, allocations: 4.039 MB / 0.6491 GB, free: 6.387 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.4508, allocations: 1.283 MB / 0.6503 GB, free: 5.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002556/0.4534, allocations: 1.219 MB / 0.6515 GB, free: 3.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.4536, allocations: 127.4 kB / 0.6516 GB, free: 3.719 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4536, allocations: 0 / 0.6516 GB, free: 3.719 MB / 494.1 MB Notification: Performance of Templates: time 0.03012/0.4838, allocations: 15.34 MB / 0.6666 GB, free: 4.582 MB / 0.4981 GB " [Timeout remaining time 660] 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 -s cvode -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: 5.562124111995217]