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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001833/0.001833, allocations: 107.4 kB / 20.48 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002212/0.002212, allocations: 215.5 kB / 23.78 MB, free: 4.438 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3033/0.3033, allocations: 46.96 MB / 360.9 MB, free: 3.887 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002595, allocations: 79.88 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3428, allocations: 66.09 MB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007089/0.3499, allocations: 4.857 MB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00386/0.3538, allocations: 1.694 MB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.3541, allocations: 23.94 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.3553, allocations: 0.5291 MB / 0.5677 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.3573, allocations: 0.9224 MB / 0.5686 GB, free: 11.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001061/0.3574, allocations: 19.97 kB / 0.5686 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001974/0.3594, allocations: 1.522 MB / 0.5701 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009786/0.3604, allocations: 0.7398 MB / 0.5708 GB, free: 9.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006904/0.3611, allocations: 0.533 MB / 0.5713 GB, free: 9.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.3635, allocations: 1.683 MB / 0.573 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.3637, allocations: 92 kB / 0.5731 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005302/0.3642, allocations: 227.6 kB / 0.5733 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007004/0.3649, allocations: 0.7164 MB / 0.574 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.3657, allocations: 0.6048 MB / 0.5746 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003445/0.3691, allocations: 2.808 MB / 0.5773 GB, free: 2.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3691, allocations: 0 / 0.5773 GB, free: 2.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3691, allocations: 0 / 0.5773 GB, free: 2.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.224e-05/0.3692, allocations: 0 / 0.5773 GB, free: 2.941 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.003393/0.3726, allocations: 2.029 MB / 0.5793 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3726, allocations: 8.031 kB / 0.5793 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004533/0.3731, allocations: 373.9 kB / 0.5797 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005396/0.3785, allocations: 1.528 MB / 0.5812 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001857/0.3803, allocations: 0.8043 MB / 0.582 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.905e-05/0.3804, allocations: 94.22 kB / 0.582 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.3806, allocations: 107.9 kB / 0.5821 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006868/0.3875, allocations: 4.976 MB / 0.587 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.3876, allocations: 23.75 kB / 0.587 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.3878, allocations: 63.91 kB / 0.5871 GB, free: 8.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001988/0.3897, allocations: 1.185 MB / 0.5882 GB, free: 7.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007338/0.3971, allocations: 4.246 MB / 0.5924 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02343/0.4205, allocations: 19.87 MB / 0.6118 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.4219, allocations: 0.7253 MB / 0.6125 GB, free: 13.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/0.4224, allocations: 351.2 kB / 0.6128 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.4224, allocations: 4 kB / 0.6128 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.4224, allocations: 46.48 kB / 0.6129 GB, free: 13.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.707e-06/0.4224, allocations: 0 / 0.6129 GB, free: 13.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001906/0.4243, allocations: 1.15 MB / 0.614 GB, free: 11.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4245, allocations: 136.5 kB / 0.6141 GB, free: 11.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003455/0.4279, allocations: 2.595 MB / 0.6167 GB, free: 9.191 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.428, allocations: 37.64 kB / 0.6167 GB, free: 9.148 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.4294, allocations: 1.862 MB / 0.6185 GB, free: 7.266 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003036/0.4297, allocations: 321.8 kB / 0.6188 GB, free: 6.949 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/0.4307, allocations: 0.7978 MB / 0.6196 GB, free: 6.145 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4309, allocations: 349.9 kB / 0.62 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.4325, allocations: 1.035 MB / 0.621 GB, free: 4.762 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004012/0.4365, allocations: 3.687 MB / 0.6246 GB, free: 15.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006381/0.4429, allocations: 5.164 MB / 0.6296 GB, free: 9.246 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.066e-05/0.4429, allocations: 28 kB / 0.6296 GB, free: 9.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007925/0.4509, allocations: 4.463 MB / 0.634 GB, free: 4.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.914e-05/0.4509, allocations: 44 kB / 0.634 GB, free: 4.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.451, allocations: 96 kB / 0.6341 GB, free: 4.613 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.4512, allocations: 124 kB / 0.6342 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/0.4536, allocations: 0.8655 MB / 0.6351 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001854/0.4538, allocations: 191.2 kB / 0.6353 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/0.4562, allocations: 0.5661 MB / 0.6358 GB, free: 2.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/0.4565, allocations: 252 kB / 0.6361 GB, free: 2.621 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.001577/0.4581, allocations: 1.189 MB / 0.6372 GB, free: 1.418 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.4584, allocations: 198.6 kB / 0.6374 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.4587, allocations: 217.8 kB / 0.6376 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-05/0.4588, allocations: 31.91 kB / 0.6377 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4588, allocations: 0 / 0.6377 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.4588, allocations: 0 / 0.6377 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/0.4624, allocations: 1.983 MB / 0.6396 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4624, allocations: 0 / 0.6396 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.4627, allocations: 59.91 kB / 0.6396 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.4627, allocations: 7.984 kB / 0.6397 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.4627, allocations: 8 kB / 0.6397 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4627, allocations: 8 kB / 0.6397 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.4627, allocations: 3.938 kB / 0.6397 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.4641, allocations: 1.207 MB / 0.6408 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.4645, allocations: 182.5 kB / 0.641 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.4646, allocations: 4 kB / 0.641 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.4651, allocations: 23.97 kB / 0.6411 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.986e-05/0.4652, allocations: 31.98 kB / 0.6411 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.694e-05/0.4652, allocations: 23.94 kB / 0.6411 GB, free: 13.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002026/0.4672, allocations: 1.486 MB / 0.6426 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4672, allocations: 0 / 0.6426 GB, free: 11.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002676/0.4699, allocations: 0.5264 MB / 0.6431 GB, free: 11.34 MB / 494.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.001928/0.4718, allocations: 1.802 MB / 0.6448 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003754/0.4756, allocations: 2.262 MB / 0.647 GB, free: 7.262 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4756, allocations: 3.938 kB / 0.647 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004658/0.4761, allocations: 339.6 kB / 0.6474 GB, free: 6.926 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.4777, allocations: 171.3 kB / 0.6475 GB, free: 6.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03484/0.5125, allocations: 23.09 MB / 0.6701 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002219/0.5148, allocations: 1.275 MB / 0.6713 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002808/0.5176, allocations: 1.263 MB / 0.6726 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.5188, allocations: 0.7854 MB / 0.6733 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/0.5188, allocations: 3.938 kB / 0.6733 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07195/0.5908, allocations: 29.5 MB / 0.7021 GB, free: 11.73 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.06, allocations: 0 / 0.7021 GB, free: 11.73 MB / 0.545 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable visGroundAxis.n[1] in file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[1] from file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[2] in file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[2] from file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[3] in file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[3] from file ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.29041693196632]