Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 213.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.422/1.422, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2211/0.2211, allocations: 46.93 MB / 360.9 MB, free: 4.301 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 0.4961 GB, free: 7.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3176, allocations: 66.04 MB / 0.5606 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.00716/0.3248, allocations: 5.441 MB / 0.5659 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.3282, allocations: 1.819 MB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.3286, allocations: 23.94 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.3298, allocations: 0.5563 MB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.3317, allocations: 0.9302 MB / 0.5692 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.423e-05/0.3318, allocations: 11.98 kB / 0.5692 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.3337, allocations: 1.53 MB / 0.5707 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.3347, allocations: 0.7437 MB / 0.5714 GB, free: 9.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007961/0.3355, allocations: 0.5252 MB / 0.5719 GB, free: 8.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.3377, allocations: 1.707 MB / 0.5736 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.338, allocations: 92 kB / 0.5737 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.3387, allocations: 327.5 kB / 0.574 GB, free: 6.754 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006582/0.3393, allocations: 0.7203 MB / 0.5747 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007836/0.3401, allocations: 0.869 MB / 0.5756 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.3432, allocations: 2.808 MB / 0.5783 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3432, allocations: 0 / 0.5783 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3432, allocations: 0 / 0.5783 GB, free: 2.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.143e-05/0.3433, allocations: 4 kB / 0.5783 GB, free: 2.332 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.003032/0.3463, allocations: 2.03 MB / 0.5803 GB, free: 264 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3464, allocations: 8.031 kB / 0.5803 GB, free: 256 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004136/0.3468, allocations: 377.8 kB / 0.5807 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.3517, allocations: 1.516 MB / 0.5821 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.3537, allocations: 0.7925 MB / 0.5829 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/0.3538, allocations: 86.22 kB / 0.583 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.354, allocations: 111.9 kB / 0.5831 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006728/0.3607, allocations: 4.98 MB / 0.588 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.791e-05/0.3608, allocations: 23.81 kB / 0.588 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.3609, allocations: 59.91 kB / 0.588 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001927/0.3629, allocations: 1.181 MB / 0.5892 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006791/0.3697, allocations: 4.262 MB / 0.5934 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02275/0.3924, allocations: 20.46 MB / 0.6133 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/0.3938, allocations: 0.7292 MB / 0.6141 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.3943, allocations: 355.2 kB / 0.6144 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.3943, allocations: 7.938 kB / 0.6144 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.3943, allocations: 42.56 kB / 0.6144 GB, free: 11.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.486e-06/0.3943, allocations: 0 / 0.6144 GB, free: 11.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001921/0.3963, allocations: 1.154 MB / 0.6156 GB, free: 10.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.3963, allocations: 136.5 kB / 0.6157 GB, free: 10.63 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.3996, allocations: 2.433 MB / 0.6181 GB, free: 8.164 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3997, allocations: 29.7 kB / 0.6181 GB, free: 8.129 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.4012, allocations: 1.878 MB / 0.6199 GB, free: 6.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.4015, allocations: 317.8 kB / 0.6202 GB, free: 5.918 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009414/0.4024, allocations: 0.7979 MB / 0.621 GB, free: 5.113 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4026, allocations: 349.9 kB / 0.6213 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.404, allocations: 1.03 MB / 0.6224 GB, free: 3.734 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00377/0.4078, allocations: 3.688 MB / 0.626 GB, free: 14.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006118/0.4139, allocations: 5.167 MB / 0.631 GB, free: 8.219 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.085e-05/0.414, allocations: 24 kB / 0.631 GB, free: 8.195 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007397/0.4214, allocations: 4.457 MB / 0.6354 GB, free: 3.734 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.217e-05/0.4214, allocations: 44 kB / 0.6354 GB, free: 3.691 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001152/0.4216, allocations: 96.88 kB / 0.6355 GB, free: 3.598 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001355/0.4217, allocations: 124 kB / 0.6356 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.424, allocations: 0.8772 MB / 0.6365 GB, free: 2.598 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001571/0.4241, allocations: 179.3 kB / 0.6367 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.4265, allocations: 0.5738 MB / 0.6372 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.4268, allocations: 248 kB / 0.6375 GB, free: 1.602 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.001629/0.4284, allocations: 1.188 MB / 0.6386 GB, free: 412 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/0.4287, allocations: 202.6 kB / 0.6388 GB, free: 208 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.4291, allocations: 225.8 kB / 0.639 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/0.4291, allocations: 16 kB / 0.639 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4291, allocations: 4 kB / 0.639 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4291, allocations: 0 / 0.639 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.4327, allocations: 2.037 MB / 0.641 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.4327, allocations: 0 / 0.641 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.433, allocations: 67.89 kB / 0.6411 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.433, allocations: 4 kB / 0.6411 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.433, allocations: 11.98 kB / 0.6411 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.433, allocations: 0 / 0.6411 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.433, allocations: 11.94 kB / 0.6411 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.4343, allocations: 1.193 MB / 0.6423 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.4346, allocations: 178.5 kB / 0.6425 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.4348, allocations: 12 kB / 0.6425 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.4353, allocations: 19.97 kB / 0.6425 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.4353, allocations: 35.89 kB / 0.6425 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.4354, allocations: 24.08 kB / 0.6425 GB, free: 12.29 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001973/0.4374, allocations: 1.49 MB / 0.644 GB, free: 10.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4374, allocations: 0 / 0.644 GB, free: 10.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002561/0.4399, allocations: 0.5342 MB / 0.6445 GB, free: 10.24 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.001802/0.4417, allocations: 1.797 MB / 0.6463 GB, free: 8.422 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003725/0.4454, allocations: 2.268 MB / 0.6485 GB, free: 6.172 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4454, allocations: 0 / 0.6485 GB, free: 6.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004468/0.4459, allocations: 331.7 kB / 0.6488 GB, free: 5.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.447, allocations: 174.6 kB / 0.649 GB, free: 5.676 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/0.4791, allocations: 23.09 MB / 0.6715 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.481, allocations: 1.857 MB / 0.6733 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002667/0.4837, allocations: 1.263 MB / 0.6746 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/0.4847, allocations: 0.7805 MB / 0.6753 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.4847, allocations: 3.938 kB / 0.6753 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0734/0.5581, allocations: 33.33 MB / 0.7079 GB, free: 6.094 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16, allocations: 14.92 kB / 0.7079 GB, free: 6.082 MB / 0.545 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[1] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[2] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[2] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! Error: Could not read variable visGroundAxis.n[3] in file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv. Warning: Get data of variable visGroundAxis.n[3] from file ModelicaTest_4.1.0_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.991860251000617]