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.001049/0.001049, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001124/0.001124, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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.2904/0.2904, allocations: 32.81 MB / 294.3 MB, free: 1.227 MB / 266.7 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.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|visGroundAxis.n.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 376 MB, free: 4.723 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.588e-05, allocations: 6.25 kB / 376 MB, free: 4.715 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005387/0.005413, allocations: 5.278 MB / 381.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.008243, allocations: 1.752 MB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.008678, allocations: 23.94 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.009716, allocations: 0.5679 MB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.01137, allocations: 0.9567 MB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.01147, allocations: 15.92 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.01367, allocations: 2.593 MB / 387.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.01506, allocations: 1.097 MB / 388.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.01627, allocations: 0.8651 MB / 389.1 MB, free: 7.5 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.0175, allocations: 1.021 MB / 390.2 MB, free: 6.477 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002817/0.01778, allocations: 95.94 kB / 390.2 MB, free: 6.383 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000656/0.01844, allocations: 263.7 kB / 390.5 MB, free: 6.125 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005941/0.01903, allocations: 0.7399 MB / 391.2 MB, free: 5.383 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004731/0.0195, allocations: 434.2 kB / 391.7 MB, free: 4.957 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.02142, allocations: 1.773 MB / 393.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.02143, allocations: 0 / 393.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02143, allocations: 0 / 393.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.852e-05/0.02152, allocations: 0 / 393.4 MB, free: 3.176 MB / 362.7 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.002886/0.0244, allocations: 2.268 MB / 395.7 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.02447, allocations: 12.03 kB / 395.7 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/0.02917, allocations: 1.754 MB / 397.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.03077, allocations: 0.7946 MB / 398.3 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.03083, allocations: 90.45 kB / 398.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.03097, allocations: 108.3 kB / 398.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/0.03428, allocations: 3.028 MB / 401.5 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.03432, allocations: 19.81 kB / 401.5 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.03445, allocations: 67.89 kB / 401.6 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001171/0.03562, allocations: 1.178 MB / 402.8 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.03817, allocations: 1.452 MB / 404.2 MB, free: 7.676 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.05187, allocations: 25.05 MB / 429.3 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.05244, allocations: 385 kB / 429.6 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.05261, allocations: 127.8 kB / 429.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.05262, allocations: 8 kB / 429.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.05266, allocations: 53.31 kB / 429.8 MB, free: 13.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 3.777e-06/0.05266, allocations: 0 / 429.8 MB, free: 13.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0008098/0.05347, allocations: 0.5325 MB / 430.4 MB, free: 12.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.05354, allocations: 136.5 kB / 430.5 MB, free: 12.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.05533, allocations: 2.18 MB / 432.7 MB, free: 10.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.05536, allocations: 33.73 kB / 432.7 MB, free: 10.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009995/0.05636, allocations: 2.005 MB / 434.7 MB, free: 8.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.05657, allocations: 329.8 kB / 435 MB, free: 7.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006702/0.05724, allocations: 0.8646 MB / 435.9 MB, free: 6.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.05738, allocations: 0.5004 MB / 436.4 MB, free: 6.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005261/0.05791, allocations: 347.4 kB / 436.7 MB, free: 6.023 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.06044, allocations: 4.285 MB / 441 MB, free: 15.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004216/0.06465, allocations: 5.116 MB / 446.1 MB, free: 8.969 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/0.06469, allocations: 28 kB / 446.2 MB, free: 8.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.003905/0.0686, allocations: 3.259 MB / 449.4 MB, free: 5.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.06865, allocations: 44 kB / 449.5 MB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.362e-05/0.06874, allocations: 96 kB / 449.6 MB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.988e-05/0.06883, allocations: 127.9 kB / 449.7 MB, free: 5.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.0702, allocations: 0.8733 MB / 450.6 MB, free: 4.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001005/0.0703, allocations: 183.3 kB / 450.7 MB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.07168, allocations: 0.539 MB / 451.3 MB, free: 3.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.07188, allocations: 256 kB / 451.5 MB, free: 3.566 MB / 426.7 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.0006166/0.0725, allocations: 492.4 kB / 452 MB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.07266, allocations: 182.8 kB / 452.2 MB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.07281, allocations: 155.9 kB / 452.3 MB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-05/0.07284, allocations: 27.92 kB / 452.4 MB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.07285, allocations: 0 / 452.4 MB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.07285, allocations: 0 / 452.4 MB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.07509, allocations: 1.753 MB / 454.1 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.07509, allocations: 0 / 454.1 MB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.07524, allocations: 63.89 kB / 454.2 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.07524, allocations: 0 / 454.2 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.07527, allocations: 16 kB / 454.2 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.07527, allocations: 0 / 454.2 MB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.07527, allocations: 3.938 kB / 454.2 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2006/0.2759, allocations: 0.9878 MB / 455.2 MB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/0.2763, allocations: 159.4 kB / 455.3 MB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.2764, allocations: 10 kB / 455.3 MB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.2767, allocations: 18.39 kB / 455.4 MB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.2768, allocations: 32.84 kB / 455.4 MB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.2768, allocations: 18.94 kB / 455.4 MB, free: 108.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0011/0.2779, allocations: 0.8909 MB / 456.3 MB, free: 108.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2779, allocations: 0 / 456.3 MB, free: 108.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002122/0.28, allocations: 0.5471 MB / 456.9 MB, free: 108 MB / 426.7 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.0002742/0.2803, allocations: 129.4 kB / 457 MB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.2823, allocations: 1.574 MB / 458.6 MB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.2823, allocations: 2.938 kB / 458.6 MB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.2824, allocations: 157.7 kB / 458.7 MB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006051/0.283, allocations: 144.1 kB / 458.8 MB, free: 107.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.2862, allocations: 3.225 MB / 462.1 MB, free: 106.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2866, allocations: 0.575 MB / 462.6 MB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001271/0.2878, allocations: 1.083 MB / 463.7 MB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.288, allocations: 124.3 kB / 463.9 MB, free: 106.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.853e-06/0.288, allocations: 0 / 463.9 MB, free: 106.3 MB / 426.7 MB Notification: Performance of Templates: time 0.0187/0.3067, allocations: 12.25 MB / 476.1 MB, free: 105.2 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/WorldGroundVisualization/WorldGroundVisualization.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7830930440686643]