Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.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.001307/0.001307, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001633/0.001633, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.515/1.515, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2279/0.2279, allocations: 44.9 MB / 355.1 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.126, allocations: 65.42 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01043/0.1365, allocations: 8.741 MB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005355/0.1418, allocations: 2.293 MB / 0.5625 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1429, allocations: 47.88 kB / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.1462, allocations: 1.557 MB / 0.5641 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.1476, allocations: 493.3 kB / 0.5646 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.1479, allocations: 79.84 kB / 0.5647 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.1493, allocations: 0.9254 MB / 0.5656 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.1509, allocations: 1.28 MB / 0.5668 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007807/0.1517, allocations: 0.5449 MB / 0.5673 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.1527, allocations: 0.7161 MB / 0.568 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002307/0.1529, allocations: 120 kB / 0.5682 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/0.1532, allocations: 123.9 kB / 0.5683 GB, free: 9.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007356/0.154, allocations: 0.7478 MB / 0.569 GB, free: 8.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009251/0.1549, allocations: 0.8541 MB / 0.5698 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.1577, allocations: 2.325 MB / 0.5721 GB, free: 5.191 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.1577, allocations: 4 kB / 0.5721 GB, free: 5.188 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1577, allocations: 4 kB / 0.5721 GB, free: 5.184 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.308e-05/0.1578, allocations: 0 / 0.5721 GB, free: 5.184 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.003215/0.161, allocations: 1.991 MB / 0.5741 GB, free: 3.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.161, allocations: 8.031 kB / 0.5741 GB, free: 3.125 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004292/0.1615, allocations: 334.5 kB / 0.5744 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006174/0.1621, allocations: 227.4 kB / 0.5746 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.1633, allocations: 0.7267 MB / 0.5753 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.944e-05/0.1634, allocations: 119.4 kB / 0.5754 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.1636, allocations: 151.9 kB / 0.5756 GB, free: 1.535 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/0.1684, allocations: 3.375 MB / 0.5789 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.332e-05/0.1684, allocations: 15.81 kB / 0.5789 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/0.1686, allocations: 79.92 kB / 0.579 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008159/0.1694, allocations: 0.6188 MB / 0.5796 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003606/0.173, allocations: 1.869 MB / 0.5814 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2898/0.4628, allocations: 13.49 MB / 0.5946 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.4628, allocations: 173.7 kB / 0.5947 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.4629, allocations: 80.14 kB / 0.5948 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.81e-05/0.4629, allocations: 76.34 kB / 0.5949 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.4629, allocations: 112.9 kB / 0.595 GB, free: 27.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.725e-06/0.4629, allocations: 0 / 0.595 GB, free: 27.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002907/0.4632, allocations: 164.4 kB / 0.5951 GB, free: 27.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.4632, allocations: 126.7 kB / 0.5953 GB, free: 27.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.4656, allocations: 1.654 MB / 0.5969 GB, free: 27.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.4656, allocations: 25.7 kB / 0.5969 GB, free: 27.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008985/0.4665, allocations: 1.412 MB / 0.5983 GB, free: 26.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.4666, allocations: 51.28 kB / 0.5983 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005558/0.4671, allocations: 423.7 kB / 0.5987 GB, free: 26.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4673, allocations: 361.3 kB / 0.5991 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006215/0.4679, allocations: 370.4 kB / 0.5994 GB, free: 26.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.4692, allocations: 1.933 MB / 0.6013 GB, free: 24.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002223/0.4714, allocations: 2.511 MB / 0.6038 GB, free: 21.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.944e-05/0.4715, allocations: 17.06 kB / 0.6038 GB, free: 21.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004128/0.4756, allocations: 2.117 MB / 0.6059 GB, free: 20.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.08e-05/0.4757, allocations: 30.12 kB / 0.6059 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.4758, allocations: 62.2 kB / 0.6059 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001177/0.4759, allocations: 74.25 kB / 0.606 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.4772, allocations: 488.5 kB / 0.6065 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001169/0.4773, allocations: 107.3 kB / 0.6066 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.4791, allocations: 330 kB / 0.6069 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003364/0.4794, allocations: 142.1 kB / 0.607 GB, free: 20.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.001417/0.4808, allocations: 0.8732 MB / 0.6079 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.4812, allocations: 228 kB / 0.6081 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.4814, allocations: 230 kB / 0.6083 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/0.4814, allocations: 182 kB / 0.6085 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.95e-05/0.4815, allocations: 179.2 kB / 0.6087 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.4815, allocations: 185.3 kB / 0.6088 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.4836, allocations: 1.475 MB / 0.6103 GB, free: 18.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.4837, allocations: 103 kB / 0.6104 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.4837, allocations: 110.8 kB / 0.6105 GB, free: 18.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.613e-05/0.4837, allocations: 178 kB / 0.6107 GB, free: 17.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.4837, allocations: 186.2 kB / 0.6108 GB, free: 17.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.548e-05/0.4838, allocations: 177.5 kB / 0.611 GB, free: 17.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.533e-05/0.4838, allocations: 190 kB / 0.6112 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.4841, allocations: 437.1 kB / 0.6116 GB, free: 16.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.4844, allocations: 306.2 kB / 0.6119 GB, free: 16.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.4845, allocations: 181.5 kB / 0.6121 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.4848, allocations: 107 kB / 0.6122 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.4849, allocations: 178.6 kB / 0.6123 GB, free: 16.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4849, allocations: 102.6 kB / 0.6124 GB, free: 16.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001498/0.4864, allocations: 1.021 MB / 0.6134 GB, free: 15.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4864, allocations: 0 / 0.6134 GB, free: 15.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002392/0.4888, allocations: 436.7 kB / 0.6139 GB, free: 15.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0005226/0.4893, allocations: 0.9396 MB / 0.6148 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.491, allocations: 0.8728 MB / 0.6156 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.491, allocations: 3.938 kB / 0.6156 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.491, allocations: 0 / 0.6156 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009707/0.492, allocations: 0.5745 MB / 0.6162 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.5112, allocations: 13.59 MB / 0.6295 GB, free: 4.176 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.5124, allocations: 1.577 MB / 0.631 GB, free: 3.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001037/0.5135, allocations: 0.4917 MB / 0.6315 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/0.5141, allocations: 0.6631 MB / 0.6321 GB, free: 2.695 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5141, allocations: 0 / 0.6321 GB, free: 2.695 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05468/0.5687, allocations: 21.82 MB / 0.6534 GB, free: 14.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.7, allocations: 9.125 kB / 0.6534 GB, free: 14.89 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_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_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.90751584013924]