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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.WorldGroundVisualization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|visGroundAxis.n.1.|visGroundAxis.n.2.|visGroundAxis.n.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001802/0.001809, allocations: 201.1 kB / 18.11 MB, free: 3.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 226.5 MB / 245.4 MB, free: 8.164 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008035/0.0008037, allocations: 106 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3594/0.3594, allocations: 44.83 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003122/0.0003123, allocations: 11.98 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.321, allocations: 62.96 MB / 0.5184 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.4511, allocations: 94.77 MB / 0.611 GB, free: 10.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.4515, allocations: 75.95 kB / 0.611 GB, free: 10.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1094/0.5608, allocations: 42.43 MB / 0.6525 GB, free: 15.63 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5609, allocations: 0 / 0.6525 GB, free: 15.63 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.561, allocations: 36 kB / 0.6525 GB, free: 15.6 MB / 474.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.006396/0.5674, allocations: 1.922 MB / 0.6544 GB, free: 13.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.104e-05/0.5675, allocations: 8.875 kB / 0.6544 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006998/0.5745, allocations: 1.691 MB / 0.656 GB, free: 11.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003043/0.5776, allocations: 1.13 MB / 0.6571 GB, free: 10.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.5778, allocations: 140.1 kB / 0.6573 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009686/0.5788, allocations: 184.3 kB / 0.6574 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.5894, allocations: 5.529 MB / 0.6628 GB, free: 4.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-05/0.5896, allocations: 35.81 kB / 0.6629 GB, free: 4.125 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003459/0.5899, allocations: 107.9 kB / 0.663 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007156/0.5907, allocations: 0.569 MB / 0.6635 GB, free: 3.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007217/0.5979, allocations: 4.534 MB / 0.668 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3172/0.9151, allocations: 27.95 MB / 0.6953 GB, free: 93.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.9164, allocations: 1.246 MB / 0.6965 GB, free: 92.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.9168, allocations: 353.4 kB / 0.6968 GB, free: 92.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/0.9187, allocations: 1.733 MB / 0.6985 GB, free: 91.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.9188, allocations: 41.38 kB / 0.6985 GB, free: 91.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=54): time 2.605e-06/0.9188, allocations: 0 / 0.6985 GB, free: 91.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.001196/0.92, allocations: 0.9602 MB / 0.6995 GB, free: 91.28 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.92, allocations: 108.3 kB / 0.6996 GB, free: 91.15 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002764/0.9228, allocations: 2.581 MB / 0.7021 GB, free: 90.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.9228, allocations: 29.92 kB / 0.7021 GB, free: 90.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009268/0.9238, allocations: 1.836 MB / 0.7039 GB, free: 89.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.9239, allocations: 260.1 kB / 0.7042 GB, free: 89.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.9241, allocations: 79.58 kB / 0.7043 GB, free: 89.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.9243, allocations: 0.5181 MB / 0.7048 GB, free: 89.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.9255, allocations: 1.075 MB / 0.7058 GB, free: 89.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/0.9278, allocations: 3.774 MB / 0.7095 GB, free: 85.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/0.9318, allocations: 5.185 MB / 0.7146 GB, free: 82.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.817e-05/0.9319, allocations: 30.25 kB / 0.7146 GB, free: 82.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006644/0.9385, allocations: 4.569 MB / 0.7191 GB, free: 80.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.9386, allocations: 51.27 kB / 0.7191 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.9388, allocations: 96.75 kB / 0.7192 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.9389, allocations: 125.9 kB / 0.7193 GB, free: 80.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/0.9414, allocations: 0.9058 MB / 0.7202 GB, free: 80.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001817/0.9416, allocations: 185.6 kB / 0.7204 GB, free: 80.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.9441, allocations: 0.5634 MB / 0.7209 GB, free: 80.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003628/0.9445, allocations: 288.8 kB / 0.7212 GB, free: 80.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 17 (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.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,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 (478): * Single equations (assignments): 475 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001764/0.9463, allocations: 1.196 MB / 0.7224 GB, free: 79.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.9466, allocations: 186.9 kB / 0.7225 GB, free: 79.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003697/0.947, allocations: 219.9 kB / 0.7228 GB, free: 79.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-05/0.947, allocations: 10.16 kB / 0.7228 GB, free: 79.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.947, allocations: 4.781 kB / 0.7228 GB, free: 79.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.947, allocations: 3.203 kB / 0.7228 GB, free: 79.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.9497, allocations: 1.497 MB / 0.7242 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.9497, allocations: 0 / 0.7242 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.95, allocations: 56.98 kB / 0.7243 GB, free: 78.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.238e-06/0.95, allocations: 2.188 kB / 0.7243 GB, free: 78.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.9501, allocations: 9.406 kB / 0.7243 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.9501, allocations: 7.312 kB / 0.7243 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.9501, allocations: 0 / 0.7243 GB, free: 78.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.9512, allocations: 0.995 MB / 0.7253 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004087/0.9516, allocations: 290.7 kB / 0.7256 GB, free: 78.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.9518, allocations: 7.688 kB / 0.7256 GB, free: 78.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.9522, allocations: 18.69 kB / 0.7256 GB, free: 78.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.9523, allocations: 23.83 kB / 0.7256 GB, free: 78.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.9524, allocations: 15.53 kB / 0.7256 GB, free: 78.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002435/0.9548, allocations: 1.607 MB / 0.7272 GB, free: 77.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9548, allocations: 2.906 kB / 0.7272 GB, free: 77.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003347/0.9582, allocations: 0.5538 MB / 0.7277 GB, free: 77.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 27 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003162/0.9585, allocations: 131.8 kB / 0.7279 GB, free: 77.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004173/0.9627, allocations: 2.33 MB / 0.7301 GB, free: 76.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.9627, allocations: 0 / 0.7301 GB, free: 76.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004132/0.9631, allocations: 301.6 kB / 0.7304 GB, free: 76.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/0.9645, allocations: 159.9 kB / 0.7306 GB, free: 76.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.9714, allocations: 4.65 MB / 0.7351 GB, free: 73.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/0.9732, allocations: 1.863 MB / 0.7369 GB, free: 72.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002895/0.9761, allocations: 1.252 MB / 0.7382 GB, free: 72.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.9765, allocations: 165 kB / 0.7383 GB, free: 72.82 MB / 490.7 MB Notification: Performance of SimCode: time 1.442e-06/0.9765, allocations: 0 / 0.7383 GB, free: 72.82 MB / 490.7 MB Notification: Performance of Templates: time 0.02778/1.004, allocations: 14.74 MB / 0.7527 GB, free: 71.96 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (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) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches