Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.WorldGroundVisualization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 199.7 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 226.6 MB / 243.4 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008597/0.0008598, allocations: 93.12 kB / 295.5 MB, free: 6.711 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3032/0.3032, allocations: 44.81 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 8 kB / 465.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3227, allocations: 62.96 MB / 0.5159 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.00626/0.329, allocations: 7.932 MB / 0.5236 GB, free: 31.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004296/0.3334, allocations: 2.219 MB / 0.5258 GB, free: 30.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009833/0.3344, allocations: 32.97 kB / 0.5258 GB, free: 30.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008012/0.3352, allocations: 378.4 kB / 0.5262 GB, free: 29.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.338, allocations: 1.321 MB / 0.5275 GB, free: 29.44 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.3382, allocations: 21.27 kB / 0.5275 GB, free: 29.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03572/0.3739, allocations: 30.12 MB / 0.5569 GB, free: 15.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.3754, allocations: 0.9628 MB / 0.5578 GB, free: 14.44 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006194/0.3761, allocations: 486.1 kB / 0.5583 GB, free: 13.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006955/0.3768, allocations: 0.7514 MB / 0.559 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.3769, allocations: 56 kB / 0.5591 GB, free: 13.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.3775, allocations: 283.5 kB / 0.5594 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003926/0.3779, allocations: 0.6739 MB / 0.56 GB, free: 12.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.3783, allocations: 0.8324 MB / 0.5608 GB, free: 11.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.3796, allocations: 2.114 MB / 0.5629 GB, free: 9.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3796, allocations: 0 / 0.5629 GB, free: 9.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3796, allocations: 0 / 0.5629 GB, free: 9.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.547e-05/0.3797, allocations: 0 / 0.5629 GB, free: 9.238 MB / 378.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.001756/0.3814, allocations: 1.707 MB / 0.5646 GB, free: 7.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3815, allocations: 8.031 kB / 0.5646 GB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003999/0.3855, allocations: 1.542 MB / 0.5661 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.3867, allocations: 0.8526 MB / 0.5669 GB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.3867, allocations: 86.47 kB / 0.567 GB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.3869, allocations: 119.8 kB / 0.5671 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004532/0.3914, allocations: 4.96 MB / 0.5719 GB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.3915, allocations: 23.81 kB / 0.572 GB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.3917, allocations: 55.91 kB / 0.572 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00173/0.3934, allocations: 1.185 MB / 0.5732 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006452/0.3999, allocations: 4.231 MB / 0.5773 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01932/0.4192, allocations: 20.62 MB / 0.5974 GB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.4205, allocations: 1.174 MB / 0.5986 GB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.4209, allocations: 340.6 kB / 0.5989 GB, free: 2.867 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.421, allocations: 4 kB / 0.5989 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.421, allocations: 42.48 kB / 0.599 GB, free: 2.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.406e-06/0.421, allocations: 0 / 0.599 GB, free: 2.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.00147/0.4225, allocations: 1.048 MB / 0.6 GB, free: 1.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.4225, allocations: 114.8 kB / 0.6001 GB, free: 1.621 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/0.4253, allocations: 2.466 MB / 0.6025 GB, free: 15.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.4254, allocations: 33.7 kB / 0.6025 GB, free: 15.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.4265, allocations: 1.821 MB / 0.6043 GB, free: 13.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/0.4267, allocations: 273.1 kB / 0.6046 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.4268, allocations: 76 kB / 0.6046 GB, free: 12.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.4271, allocations: 0.5188 MB / 0.6052 GB, free: 12.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4285, allocations: 1.007 MB / 0.6061 GB, free: 11.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003031/0.4315, allocations: 3.714 MB / 0.6098 GB, free: 6.285 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004843/0.4364, allocations: 5.169 MB / 0.6148 GB, free: 15.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.445e-05/0.4364, allocations: 28 kB / 0.6148 GB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006319/0.4428, allocations: 4.423 MB / 0.6192 GB, free: 11.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.4428, allocations: 48 kB / 0.6192 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-05/0.4429, allocations: 96 kB / 0.6193 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/0.4431, allocations: 124 kB / 0.6194 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/0.4452, allocations: 0.885 MB / 0.6203 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001286/0.4453, allocations: 191.2 kB / 0.6205 GB, free: 9.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/0.4474, allocations: 0.5642 MB / 0.621 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/0.4478, allocations: 255.9 kB / 0.6213 GB, free: 9.145 MB / 442.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 (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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001717/0.4495, allocations: 1.192 MB / 0.6224 GB, free: 7.941 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002768/0.4498, allocations: 185.6 kB / 0.6226 GB, free: 7.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.4501, allocations: 222.1 kB / 0.6228 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.4501, allocations: 8 kB / 0.6228 GB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4501, allocations: 0 / 0.6228 GB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.4502, allocations: 0 / 0.6228 GB, free: 7.531 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/0.4531, allocations: 2.043 MB / 0.6248 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.4531, allocations: 0 / 0.6248 GB, free: 5.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.4535, allocations: 63.83 kB / 0.6249 GB, free: 5.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4535, allocations: 4 kB / 0.6249 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.084e-05/0.4535, allocations: 8 kB / 0.6249 GB, free: 5.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.169e-06/0.4535, allocations: 4 kB / 0.6249 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4535, allocations: 0 / 0.6249 GB, free: 5.348 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009684/0.4545, allocations: 1.062 MB / 0.6259 GB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.4548, allocations: 254.5 kB / 0.6262 GB, free: 4.004 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.455, allocations: 12 kB / 0.6262 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.4554, allocations: 19.97 kB / 0.6262 GB, free: 3.973 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.4554, allocations: 23.97 kB / 0.6262 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.381e-05/0.4555, allocations: 12 kB / 0.6262 GB, free: 3.938 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00176/0.4573, allocations: 1.506 MB / 0.6277 GB, free: 2.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.272e-06/0.4573, allocations: 0 / 0.6277 GB, free: 2.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002334/0.4596, allocations: 0.5456 MB / 0.6282 GB, free: 1.867 MB / 442.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 (36): * Single equations (assignments): 33 * 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.0002488/0.4599, allocations: 131.3 kB / 0.6284 GB, free: 1.727 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003097/0.463, allocations: 2.31 MB / 0.6306 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.463, allocations: 0 / 0.6306 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.4634, allocations: 331.7 kB / 0.6309 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.4644, allocations: 167.5 kB / 0.6311 GB, free: 14.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00631/0.4708, allocations: 4.943 MB / 0.6359 GB, free: 9.949 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.4723, allocations: 1.862 MB / 0.6377 GB, free: 8.055 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/0.4727, allocations: 163.4 kB / 0.6379 GB, free: 7.895 MB / 458.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4727, allocations: 0 / 0.6379 GB, free: 7.895 MB / 458.7 MB Notification: Performance of Templates: time 0.03893/0.5117, allocations: 27.43 MB / 0.6647 GB, free: 12.48 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches