Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 92.98 kB / 20.69 MB, free: 1.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001677/0.001677, allocations: 161.1 kB / 23.95 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 442.6 MB, free: 5.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.114e-05/3.275e-05, allocations: 4.672 kB / 442.6 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006838/0.006871, allocations: 4.866 MB / 447.5 MB, free: 436 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2045/0.2113, allocations: 1.683 MB / 449.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.2118, allocations: 25.06 kB / 449.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.213, allocations: 0.5428 MB / 449.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001912/0.2149, allocations: 0.962 MB / 450.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.421e-05/0.215, allocations: 15.62 kB / 450.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002896/0.2179, allocations: 2.595 MB / 453.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.2194, allocations: 1.047 MB / 454.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.2207, allocations: 0.8659 MB / 455.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.2221, allocations: 1.019 MB / 456.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.2223, allocations: 89.69 kB / 456.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006225/0.223, allocations: 260.7 kB / 456.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006012/0.2236, allocations: 0.7417 MB / 457.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000512/0.2241, allocations: 431.2 kB / 457.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003175/0.2273, allocations: 2.712 MB / 460.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2273, allocations: 0 / 460.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2273, allocations: 1.062 kB / 460.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.621e-05/0.2273, allocations: 0 / 460.5 MB, free: 12.52 MB / 366.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.003079/0.2304, allocations: 1.997 MB / 462.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2304, allocations: 9.031 kB / 462.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005141/0.2356, allocations: 1.525 MB / 464 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.2372, allocations: 0.8156 MB / 464.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.2373, allocations: 83.81 kB / 464.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/0.2375, allocations: 110.6 kB / 465 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005979/0.2435, allocations: 4.976 MB / 470 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.314e-05/0.2435, allocations: 24 kB / 470 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002041/0.2437, allocations: 65.83 kB / 470.1 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001924/0.2457, allocations: 1.185 MB / 471.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006298/0.252, allocations: 4.246 MB / 475.5 MB, free: 4.582 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02035/0.2723, allocations: 19.4 MB / 494.9 MB, free: 472 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.2737, allocations: 0.735 MB / 495.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.2742, allocations: 347.2 kB / 496 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.2742, allocations: 4 kB / 496 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2742, allocations: 42.5 kB / 496 MB, free: 15.29 MB / 398.1 MB Notification: Performance of pre-optimization done (n=69): time 2.925e-06/0.2742, allocations: 0 / 496 MB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=69): time 0.00187/0.2761, allocations: 1.123 MB / 497.1 MB, free: 14.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.2762, allocations: 144.4 kB / 497.3 MB, free: 13.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/0.2792, allocations: 2.313 MB / 499.6 MB, free: 11.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.2793, allocations: 29.7 kB / 499.6 MB, free: 11.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.2807, allocations: 1.87 MB / 0.4897 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/0.281, allocations: 317.8 kB / 0.49 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.282, allocations: 0.7823 MB / 0.4908 GB, free: 8.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2822, allocations: 330.4 kB / 0.4911 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.2837, allocations: 1.034 MB / 0.4921 GB, free: 7.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00382/0.2876, allocations: 3.691 MB / 0.4957 GB, free: 2.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006161/0.2937, allocations: 5.157 MB / 0.5008 GB, free: 11.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.195e-05/0.2938, allocations: 32 kB / 0.5008 GB, free: 11.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.00753/0.3013, allocations: 4.433 MB / 0.5051 GB, free: 7.258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.064e-05/0.3014, allocations: 44.19 kB / 0.5052 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/0.3015, allocations: 100 kB / 0.5053 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001381/0.3016, allocations: 128 kB / 0.5054 GB, free: 6.992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.3041, allocations: 0.8655 MB / 0.5062 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001602/0.3042, allocations: 191.2 kB / 0.5064 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.3067, allocations: 0.5351 MB / 0.5069 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/0.307, allocations: 260 kB / 0.5072 GB, free: 5.145 MB / 414.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.00183/0.3088, allocations: 1.185 MB / 0.5083 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.3091, allocations: 174.8 kB / 0.5085 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.3095, allocations: 199.9 kB / 0.5087 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.964e-05/0.3095, allocations: 23.98 kB / 0.5087 GB, free: 3.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.3095, allocations: 3.938 kB / 0.5087 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.3095, allocations: 4 kB / 0.5087 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003252/0.3128, allocations: 1.663 MB / 0.5104 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3128, allocations: 7.922 kB / 0.5104 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002954/0.3131, allocations: 60.78 kB / 0.5104 GB, free: 1.773 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.3131, allocations: 4 kB / 0.5104 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.3131, allocations: 8 kB / 0.5104 GB, free: 1.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.3131, allocations: 3.938 kB / 0.5104 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3131, allocations: 8 kB / 0.5104 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.3145, allocations: 1.184 MB / 0.5116 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.3148, allocations: 150.7 kB / 0.5117 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.3149, allocations: 8.875 kB / 0.5118 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.3154, allocations: 16.08 kB / 0.5118 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.394e-05/0.3155, allocations: 35.88 kB / 0.5118 GB, free: 344 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/0.3156, allocations: 23.98 kB / 0.5118 GB, free: 320 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001829/0.3174, allocations: 1.288 MB / 0.5131 GB, free: 15 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3174, allocations: 0 / 0.5131 GB, free: 15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002946/0.3203, allocations: 0.5457 MB / 0.5136 GB, free: 14.45 MB / 430.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.0003054/0.3206, allocations: 131 kB / 0.5137 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003655/0.3243, allocations: 2.27 MB / 0.516 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3243, allocations: 0 / 0.516 GB, free: 12.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004542/0.3247, allocations: 327.7 kB / 0.5163 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3258, allocations: 164 kB / 0.5164 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007234/0.333, allocations: 4.018 MB / 0.5204 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.3348, allocations: 1.279 MB / 0.5216 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00264/0.3374, allocations: 1.215 MB / 0.5228 GB, free: 4.996 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.3377, allocations: 132.5 kB / 0.5229 GB, free: 4.863 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3377, allocations: 0 / 0.5229 GB, free: 4.863 MB / 430.1 MB Notification: Performance of Templates: time 0.02678/0.3645, allocations: 11.68 MB / 0.5343 GB, free: 9.406 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.596151102334261]