Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001709/0.001709, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002142/0.002142, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.636/1.636, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.238/0.238, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.91 kB / 0.4909 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1332, allocations: 66 MB / 0.5554 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01123/0.1444, allocations: 8.737 MB / 0.5639 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005373/0.1498, allocations: 2.297 MB / 0.5662 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.1511, allocations: 47.88 kB / 0.5662 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.1546, allocations: 1.557 MB / 0.5677 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001502/0.1561, allocations: 493.3 kB / 0.5682 GB, free: 8.645 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1565, allocations: 79.78 kB / 0.5683 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.158, allocations: 0.9254 MB / 0.5692 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001561/0.1595, allocations: 1.284 MB / 0.5704 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007712/0.1603, allocations: 0.5411 MB / 0.571 GB, free: 5.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.1615, allocations: 0.72 MB / 0.5717 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.1618, allocations: 120 kB / 0.5718 GB, free: 4.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003577/0.1621, allocations: 127.9 kB / 0.5719 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007742/0.1629, allocations: 0.7439 MB / 0.5726 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008809/0.1638, allocations: 0.8503 MB / 0.5735 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.1664, allocations: 2.329 MB / 0.5757 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1664, allocations: 0 / 0.5757 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1664, allocations: 4 kB / 0.5757 GB, free: 0.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.523e-05/0.1665, allocations: 0 / 0.5757 GB, free: 0.875 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.003161/0.1696, allocations: 1.991 MB / 0.5777 GB, free: 14.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.1697, allocations: 8.031 kB / 0.5777 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004153/0.1701, allocations: 330.5 kB / 0.578 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/0.1707, allocations: 231.4 kB / 0.5782 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.1718, allocations: 0.7228 MB / 0.5789 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.1719, allocations: 119.4 kB / 0.579 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.1721, allocations: 151.9 kB / 0.5792 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/0.177, allocations: 3.383 MB / 0.5825 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.177, allocations: 11.88 kB / 0.5825 GB, free: 9.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.1772, allocations: 75.94 kB / 0.5826 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008074/0.178, allocations: 0.6149 MB / 0.5832 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.1816, allocations: 1.858 MB / 0.585 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2393/0.4209, allocations: 13.5 MB / 0.5982 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.421, allocations: 172 kB / 0.5983 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.421, allocations: 85.52 kB / 0.5984 GB, free: 24.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.4211, allocations: 78.75 kB / 0.5985 GB, free: 24.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.4211, allocations: 111.4 kB / 0.5986 GB, free: 24.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.4211, allocations: 0 / 0.5986 GB, free: 24.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002486/0.4213, allocations: 160.7 kB / 0.5988 GB, free: 24.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.4214, allocations: 128.7 kB / 0.5989 GB, free: 23.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.4237, allocations: 1.651 MB / 0.6005 GB, free: 23.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.4237, allocations: 27.67 kB / 0.6005 GB, free: 23.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007884/0.4245, allocations: 1.413 MB / 0.6019 GB, free: 23.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.282e-05/0.4245, allocations: 47.33 kB / 0.6019 GB, free: 23.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005201/0.425, allocations: 428.9 kB / 0.6024 GB, free: 22.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4252, allocations: 355.5 kB / 0.6027 GB, free: 22.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/0.4257, allocations: 376.6 kB / 0.6031 GB, free: 22.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.4269, allocations: 1.933 MB / 0.6049 GB, free: 20.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001991/0.4289, allocations: 2.505 MB / 0.6074 GB, free: 17.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-05/0.4289, allocations: 16.09 kB / 0.6074 GB, free: 17.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003588/0.4325, allocations: 2.121 MB / 0.6095 GB, free: 16.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.4326, allocations: 29.84 kB / 0.6095 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.299e-05/0.4327, allocations: 61.38 kB / 0.6096 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.403e-05/0.4328, allocations: 77.16 kB / 0.6096 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.434, allocations: 491.1 kB / 0.6101 GB, free: 16.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000155/0.4341, allocations: 109.8 kB / 0.6102 GB, free: 16.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.4357, allocations: 334.6 kB / 0.6105 GB, free: 16.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/0.4359, allocations: 139 kB / 0.6107 GB, free: 16.55 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.001086/0.437, allocations: 0.8676 MB / 0.6115 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/0.4372, allocations: 232.2 kB / 0.6117 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.4374, allocations: 233.6 kB / 0.6119 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.4374, allocations: 182.3 kB / 0.6121 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/0.4374, allocations: 185.1 kB / 0.6123 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.4375, allocations: 178.1 kB / 0.6125 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/0.4393, allocations: 1.479 MB / 0.6139 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.4393, allocations: 103 kB / 0.614 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.278e-05/0.4393, allocations: 103.5 kB / 0.6141 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.583e-05/0.4393, allocations: 184.9 kB / 0.6143 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.4394, allocations: 186.2 kB / 0.6145 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.351e-05/0.4394, allocations: 182.1 kB / 0.6146 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.379e-05/0.4394, allocations: 178.2 kB / 0.6148 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.4396, allocations: 437.6 kB / 0.6152 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.4399, allocations: 297.4 kB / 0.6155 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.44, allocations: 186.8 kB / 0.6157 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.4403, allocations: 103 kB / 0.6158 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.4403, allocations: 182.2 kB / 0.616 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4403, allocations: 106 kB / 0.6161 GB, free: 12.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001435/0.4418, allocations: 1.016 MB / 0.6171 GB, free: 11.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4418, allocations: 0 / 0.6171 GB, free: 11.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001943/0.4437, allocations: 433.9 kB / 0.6175 GB, free: 11.69 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.0003535/0.4441, allocations: 0.9479 MB / 0.6184 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.4454, allocations: 0.8674 MB / 0.6192 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4454, allocations: 0 / 0.6192 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.4454, allocations: 1.125 kB / 0.6192 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.4462, allocations: 0.5685 MB / 0.6198 GB, free: 9.984 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.4611, allocations: 13.61 MB / 0.6331 GB, free: 304 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.4626, allocations: 1.574 MB / 0.6346 GB, free: 15.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001188/0.4637, allocations: 0.4937 MB / 0.6351 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008232/0.4646, allocations: 0.6616 MB / 0.6358 GB, free: 14.49 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4646, allocations: 0 / 0.6358 GB, free: 14.49 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05244/0.517, allocations: 21.81 MB / 0.657 GB, free: 10.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.36, allocations: 16 kB / 0.6571 GB, free: 10.1 MB / 478.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Shapes/Shapes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.699605713001802]