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) 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/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 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=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/ModelicaServices trunk/package.mo): time 0.0008972/0.000897, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.18 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002982, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1179, allocations: 63.56 MB / 483.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007969/0.1259, allocations: 8.391 MB / 492.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00456/0.1305, allocations: 2.333 MB / 494.4 MB, free: 9.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.1319, allocations: 31.94 kB / 494.5 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007858/0.1327, allocations: 223 kB / 494.7 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002382/0.1351, allocations: 0.8644 MB / 495.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.1353, allocations: 11.98 kB / 495.6 MB, free: 8.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00386/0.1391, allocations: 3.274 MB / 498.8 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.1408, allocations: 0.9661 MB / 499.8 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007115/0.1415, allocations: 417.9 kB / 0.4885 GB, free: 3.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.1426, allocations: 0.7628 MB / 0.4892 GB, free: 2.828 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.1428, allocations: 56 kB / 0.4893 GB, free: 2.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006383/0.1435, allocations: 291.5 kB / 0.4896 GB, free: 2.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.1442, allocations: 0.6854 MB / 0.4902 GB, free: 1.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.1453, allocations: 0.8745 MB / 0.4911 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.1475, allocations: 2.085 MB / 0.4931 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1475, allocations: 0 / 0.4931 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1475, allocations: 0 / 0.4931 GB, free: 14.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.505e-05/0.1476, allocations: 0 / 0.4931 GB, free: 14.82 MB / 382.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.002764/0.1504, allocations: 1.688 MB / 0.4948 GB, free: 13.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.1505, allocations: 8.031 kB / 0.4948 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00516/0.1556, allocations: 1.538 MB / 0.4963 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.1572, allocations: 0.8565 MB / 0.4971 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.439e-05/0.1573, allocations: 82.47 kB / 0.4972 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.1576, allocations: 115.8 kB / 0.4973 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006408/0.164, allocations: 4.976 MB / 0.5022 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.656e-05/0.1641, allocations: 23.81 kB / 0.5022 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.1643, allocations: 59.91 kB / 0.5023 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001859/0.1662, allocations: 1.189 MB / 0.5034 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2385/0.4047, allocations: 4.241 MB / 0.5076 GB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02018/0.4249, allocations: 20.62 MB / 0.5277 GB, free: 22.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.4263, allocations: 1.171 MB / 0.5288 GB, free: 21.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.4268, allocations: 342.1 kB / 0.5292 GB, free: 21.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.4268, allocations: 8.656 kB / 0.5292 GB, free: 21.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.4268, allocations: 45.75 kB / 0.5292 GB, free: 21.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.627e-06/0.4269, allocations: 0 / 0.5292 GB, free: 21.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001729/0.4286, allocations: 1.045 MB / 0.5302 GB, free: 20.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.4286, allocations: 113.9 kB / 0.5303 GB, free: 20.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00348/0.4321, allocations: 2.46 MB / 0.5327 GB, free: 19.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.4322, allocations: 36.8 kB / 0.5328 GB, free: 19.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.4332, allocations: 1.823 MB / 0.5346 GB, free: 18.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.4334, allocations: 283.2 kB / 0.5348 GB, free: 18.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/0.4338, allocations: 333.8 kB / 0.5351 GB, free: 17.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.4339, allocations: 353 kB / 0.5355 GB, free: 17.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.4354, allocations: 1.021 MB / 0.5365 GB, free: 17.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.438, allocations: 3.726 MB / 0.5401 GB, free: 13.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004502/0.4425, allocations: 5.179 MB / 0.5452 GB, free: 7.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.577e-05/0.4426, allocations: 27.25 kB / 0.5452 GB, free: 7.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.005654/0.4482, allocations: 4.466 MB / 0.5496 GB, free: 5.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.606e-05/0.4483, allocations: 46.44 kB / 0.5496 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.769e-05/0.4484, allocations: 96.72 kB / 0.5497 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.58e-05/0.4485, allocations: 128.5 kB / 0.5498 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.4505, allocations: 0.8808 MB / 0.5507 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001068/0.4506, allocations: 191.9 kB / 0.5509 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.4528, allocations: 0.5604 MB / 0.5514 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/0.4531, allocations: 254.2 kB / 0.5517 GB, free: 4.547 MB / 382.1 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 (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 (484): * Single equations (assignments): 481 * Array equations: 3 * 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.001184/0.4543, allocations: 1.197 MB / 0.5528 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.4545, allocations: 189.5 kB / 0.553 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.4547, allocations: 225.9 kB / 0.5532 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.4548, allocations: 8 kB / 0.5532 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.4548, allocations: 288 / 0.5532 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.4548, allocations: 0 / 0.5532 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.4575, allocations: 2.047 MB / 0.5552 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4575, allocations: 3.938 kB / 0.5552 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.4577, allocations: 59.89 kB / 0.5553 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4577, allocations: 8 kB / 0.5553 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.4578, allocations: 8 kB / 0.5553 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4578, allocations: 0 / 0.5553 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4578, allocations: 4 kB / 0.5553 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.4587, allocations: 1.055 MB / 0.5563 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/0.459, allocations: 254.5 kB / 0.5566 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.4591, allocations: 8.688 kB / 0.5566 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.4596, allocations: 21 kB / 0.5566 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/0.4596, allocations: 23.91 kB / 0.5566 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.4597, allocations: 20.55 kB / 0.5566 GB, free: 15.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002135/0.4618, allocations: 1.51 MB / 0.5581 GB, free: 13.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4618, allocations: 4 kB / 0.5581 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002484/0.4643, allocations: 0.5179 MB / 0.5586 GB, free: 13.28 MB / 398.1 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 (36): * Single equations (assignments): 33 * Array equations: 3 * 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.0002596/0.4646, allocations: 138.5 kB / 0.5588 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.4678, allocations: 2.32 MB / 0.561 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4678, allocations: 0 / 0.561 GB, free: 10.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004091/0.4682, allocations: 327.7 kB / 0.5613 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4693, allocations: 165.6 kB / 0.5615 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/0.4759, allocations: 5.136 MB / 0.5665 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/0.4776, allocations: 1.865 MB / 0.5683 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.478, allocations: 167.4 kB / 0.5685 GB, free: 3.117 MB / 398.1 MB Notification: Performance of SimCode: time 1.072e-06/0.478, allocations: 0 / 0.5685 GB, free: 3.117 MB / 398.1 MB Notification: Performance of Templates: time 0.042/0.52, allocations: 27.33 MB / 0.5952 GB, free: 7.816 MB / 430.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches