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.001478/0.001478, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 214.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.1 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 79.88 kB / 482 MB, free: 4.125 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3474, allocations: 62.43 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006315/0.3538, allocations: 5.404 MB / 0.5369 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.3571, allocations: 1.797 MB / 0.5387 GB, free: 7.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003914/0.3575, allocations: 23.22 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.3587, allocations: 0.5441 MB / 0.5392 GB, free: 7.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.3605, allocations: 0.9209 MB / 0.5401 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.677e-05/0.3606, allocations: 11.59 kB / 0.5401 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001708/0.3623, allocations: 1.522 MB / 0.5416 GB, free: 6.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008698/0.3632, allocations: 0.7541 MB / 0.5423 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006725/0.3639, allocations: 0.5207 MB / 0.5429 GB, free: 5.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.3658, allocations: 1.613 MB / 0.5444 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.366, allocations: 88 kB / 0.5445 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.3666, allocations: 311.5 kB / 0.5448 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005653/0.3672, allocations: 0.7088 MB / 0.5455 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006934/0.3679, allocations: 0.869 MB / 0.5463 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.3704, allocations: 2.799 MB / 0.5491 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3704, allocations: 0 / 0.5491 GB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.3704, allocations: 0 / 0.5491 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.615e-05/0.3704, allocations: 3.938 kB / 0.5491 GB, free: 15.82 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.002489/0.3729, allocations: 2.039 MB / 0.5511 GB, free: 13.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.373, allocations: 12.03 kB / 0.5511 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00444/0.3774, allocations: 1.499 MB / 0.5526 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.3787, allocations: 0.8526 MB / 0.5534 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.3788, allocations: 90.45 kB / 0.5535 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.379, allocations: 115.8 kB / 0.5536 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005429/0.3845, allocations: 4.972 MB / 0.5584 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.3845, allocations: 19.81 kB / 0.5585 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.3847, allocations: 67.89 kB / 0.5585 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001617/0.3863, allocations: 1.182 MB / 0.5597 GB, free: 4.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005807/0.3921, allocations: 4.254 MB / 0.5638 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01869/0.4108, allocations: 20.5 MB / 0.5839 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.4122, allocations: 1.228 MB / 0.5851 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004567/0.4127, allocations: 379.3 kB / 0.5854 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4128, allocations: 11.88 kB / 0.5854 GB, free: 9.121 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.4128, allocations: 34.56 kB / 0.5855 GB, free: 9.078 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.996e-06/0.4128, allocations: 0 / 0.5855 GB, free: 9.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.001649/0.4145, allocations: 1.16 MB / 0.5866 GB, free: 7.914 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.4145, allocations: 132.5 kB / 0.5867 GB, free: 7.754 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.4178, allocations: 2.424 MB / 0.5891 GB, free: 5.293 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.4178, allocations: 33.7 kB / 0.5891 GB, free: 5.254 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001235/0.4191, allocations: 1.791 MB / 0.5909 GB, free: 3.434 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.4194, allocations: 304.5 kB / 0.5912 GB, free: 3.133 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000977/0.4204, allocations: 0.7854 MB / 0.5919 GB, free: 2.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4206, allocations: 354 kB / 0.5923 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.422, allocations: 1.038 MB / 0.5933 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003202/0.4252, allocations: 3.683 MB / 0.5969 GB, free: 11.94 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005117/0.4304, allocations: 5.159 MB / 0.6019 GB, free: 5.445 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.653e-05/0.4304, allocations: 28 kB / 0.6019 GB, free: 5.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006689/0.4371, allocations: 4.455 MB / 0.6063 GB, free: 0.957 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.209e-05/0.4372, allocations: 51.98 kB / 0.6063 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/0.4374, allocations: 95.98 kB / 0.6064 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.4375, allocations: 124 kB / 0.6065 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002217/0.4397, allocations: 0.8739 MB / 0.6074 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001422/0.4399, allocations: 183.3 kB / 0.6076 GB, free: 15.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.4421, allocations: 0.5565 MB / 0.6081 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/0.4424, allocations: 252 kB / 0.6084 GB, free: 14.83 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.00144/0.4438, allocations: 1.188 MB / 0.6095 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002965/0.4441, allocations: 185.5 kB / 0.6097 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.4445, allocations: 221.7 kB / 0.6099 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.116e-05/0.4445, allocations: 24.02 kB / 0.6099 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4446, allocations: 0 / 0.6099 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4446, allocations: 8 kB / 0.6099 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.448, allocations: 2.061 MB / 0.612 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.448, allocations: 0 / 0.612 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.4483, allocations: 63.89 kB / 0.612 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.4483, allocations: 0 / 0.612 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.4484, allocations: 12 kB / 0.612 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4484, allocations: 0 / 0.612 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.4484, allocations: 4 kB / 0.612 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.4496, allocations: 1.194 MB / 0.6132 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.45, allocations: 250.5 kB / 0.6134 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.4502, allocations: 8 kB / 0.6134 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.4507, allocations: 19.97 kB / 0.6135 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.4508, allocations: 31.84 kB / 0.6135 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.4508, allocations: 23.98 kB / 0.6135 GB, free: 9.426 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001907/0.4527, allocations: 1.494 MB / 0.615 GB, free: 7.914 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.4527, allocations: 0 / 0.615 GB, free: 7.914 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002326/0.4551, allocations: 0.5184 MB / 0.6155 GB, free: 7.395 MB / 478.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.000276/0.4553, allocations: 131.2 kB / 0.6156 GB, free: 7.258 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.4585, allocations: 2.35 MB / 0.6179 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4585, allocations: 0 / 0.6179 GB, free: 4.934 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004095/0.4589, allocations: 380.2 kB / 0.6183 GB, free: 4.562 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4599, allocations: 171.5 kB / 0.6184 GB, free: 4.398 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005981/0.4659, allocations: 4.247 MB / 0.6226 GB, free: 104 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001802/0.4677, allocations: 1.87 MB / 0.6244 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.4681, allocations: 167.4 kB / 0.6246 GB, free: 14.04 MB / 494.1 MB Notification: Performance of SimCode: time 1.784e-06/0.4681, allocations: 4 kB / 0.6246 GB, free: 14.03 MB / 494.1 MB Notification: Performance of Templates: time 0.03963/0.5078, allocations: 27.97 MB / 0.6519 GB, free: 2.109 MB / 0.4981 GB 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