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: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 199.5 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 226.5 MB / 243.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007355/0.0007352, allocations: 98.41 kB / 295.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2924/0.2924, allocations: 44.83 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3062, allocations: 62.95 MB / 0.5159 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.005976/0.3123, allocations: 7.935 MB / 0.5237 GB, free: 31.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003928/0.3162, allocations: 2.217 MB / 0.5259 GB, free: 30 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008268/0.3171, allocations: 32.16 kB / 0.5259 GB, free: 30 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.3178, allocations: 384.2 kB / 0.5263 GB, free: 29.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.3202, allocations: 1.325 MB / 0.5276 GB, free: 29.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.3203, allocations: 24.8 kB / 0.5276 GB, free: 29.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03372/0.3541, allocations: 30.11 MB / 0.557 GB, free: 15.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.3556, allocations: 0.9588 MB / 0.5579 GB, free: 14.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000628/0.3562, allocations: 486.1 kB / 0.5584 GB, free: 13.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.357, allocations: 0.7436 MB / 0.5591 GB, free: 13.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000186/0.3572, allocations: 56 kB / 0.5592 GB, free: 13.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005113/0.3577, allocations: 283.5 kB / 0.5594 GB, free: 12.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.358, allocations: 0.6739 MB / 0.5601 GB, free: 12.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00047/0.3585, allocations: 0.8363 MB / 0.5609 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.3598, allocations: 2.114 MB / 0.563 GB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3598, allocations: 0 / 0.563 GB, free: 9.168 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3598, allocations: 0 / 0.563 GB, free: 9.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.44e-05/0.3598, allocations: 0 / 0.563 GB, free: 9.168 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.001687/0.3615, allocations: 1.699 MB / 0.5646 GB, free: 7.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3616, allocations: 12.03 kB / 0.5646 GB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002728/0.3618, allocations: 377.8 kB / 0.565 GB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/0.366, allocations: 1.542 MB / 0.5665 GB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.3672, allocations: 0.8526 MB / 0.5673 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.488e-05/0.3673, allocations: 90.22 kB / 0.5674 GB, free: 4.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.3674, allocations: 107.9 kB / 0.5675 GB, free: 4.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004514/0.372, allocations: 4.968 MB / 0.5724 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.372, allocations: 27.81 kB / 0.5724 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.3722, allocations: 59.91 kB / 0.5725 GB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001779/0.374, allocations: 1.182 MB / 0.5736 GB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006283/0.3803, allocations: 4.231 MB / 0.5778 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.4023, allocations: 20.61 MB / 0.5979 GB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.4039, allocations: 1.177 MB / 0.599 GB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.4045, allocations: 334.4 kB / 0.5994 GB, free: 2.426 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.4045, allocations: 11.92 kB / 0.5994 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4046, allocations: 50.53 kB / 0.5994 GB, free: 2.355 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 5.38e-06/0.4046, allocations: 0 / 0.5994 GB, free: 2.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.001959/0.4065, allocations: 1.048 MB / 0.6004 GB, free: 1.301 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.517e-05/0.4066, allocations: 106.8 kB / 0.6005 GB, free: 1.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003956/0.4106, allocations: 2.462 MB / 0.6029 GB, free: 14.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.284e-05/0.4107, allocations: 33.7 kB / 0.603 GB, free: 14.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/0.412, allocations: 1.821 MB / 0.6048 GB, free: 12.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.4124, allocations: 273 kB / 0.605 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.4126, allocations: 72 kB / 0.6051 GB, free: 12.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003545/0.4129, allocations: 0.5266 MB / 0.6056 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001567/0.4145, allocations: 1.011 MB / 0.6066 GB, free: 10.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003305/0.4178, allocations: 3.71 MB / 0.6102 GB, free: 5.836 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005299/0.4231, allocations: 5.161 MB / 0.6152 GB, free: 15.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.461e-05/0.4232, allocations: 28 kB / 0.6153 GB, free: 15.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007773/0.431, allocations: 4.418 MB / 0.6196 GB, free: 10.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/0.4312, allocations: 44 kB / 0.6196 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/0.4313, allocations: 100 kB / 0.6197 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.4315, allocations: 124 kB / 0.6198 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/0.434, allocations: 0.8889 MB / 0.6207 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001783/0.4342, allocations: 191.2 kB / 0.6209 GB, free: 9.523 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.4367, allocations: 0.5763 MB / 0.6215 GB, free: 8.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/0.4372, allocations: 256 kB / 0.6217 GB, free: 8.691 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.001832/0.4391, allocations: 1.184 MB / 0.6229 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.4394, allocations: 181.6 kB / 0.623 GB, free: 7.316 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/0.4398, allocations: 230.1 kB / 0.6233 GB, free: 7.09 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.669e-05/0.4399, allocations: 8 kB / 0.6233 GB, free: 7.082 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4399, allocations: 0 / 0.6233 GB, free: 7.082 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.4399, allocations: 3.938 kB / 0.6233 GB, free: 7.078 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.4437, allocations: 2.031 MB / 0.6252 GB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.4438, allocations: 3.938 kB / 0.6252 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.4441, allocations: 63.89 kB / 0.6253 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.4441, allocations: 4 kB / 0.6253 GB, free: 4.914 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.4441, allocations: 11.98 kB / 0.6253 GB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.4441, allocations: 0 / 0.6253 GB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4442, allocations: 4.328 kB / 0.6253 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.4453, allocations: 1.058 MB / 0.6264 GB, free: 3.828 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004573/0.4458, allocations: 254.5 kB / 0.6266 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.4461, allocations: 11.94 kB / 0.6266 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.4467, allocations: 19.97 kB / 0.6266 GB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.055e-05/0.4468, allocations: 23.97 kB / 0.6267 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.4468, allocations: 20 kB / 0.6267 GB, free: 3.484 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002314/0.4491, allocations: 1.51 MB / 0.6282 GB, free: 1.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4491, allocations: 0 / 0.6282 GB, free: 1.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002736/0.4519, allocations: 0.5418 MB / 0.6287 GB, free: 1.414 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.001741/0.4536, allocations: 1.64 MB / 0.6303 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003614/0.4573, allocations: 2.308 MB / 0.6325 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4573, allocations: 3.938 kB / 0.6325 GB, free: 13.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.4577, allocations: 335.7 kB / 0.6329 GB, free: 13.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.459, allocations: 157 kB / 0.633 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/0.4869, allocations: 15.64 MB / 0.6483 GB, free: 11.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/0.4891, allocations: 1.862 MB / 0.6501 GB, free: 9.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.4903, allocations: 0.8195 MB / 0.6509 GB, free: 8.43 MB / 474.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4903, allocations: 0 / 0.6509 GB, free: 8.43 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.419/4.909, allocations: 35.48 MB / 0.6856 GB, free: 4.988 MB / 0.4948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.WorldGroundVisualization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches