Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.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.001635/0.001635, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001861/0.001861, allocations: 205 kB / 21.45 MB, free: 1.629 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.509/1.509, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2527/0.2527, allocations: 46.93 MB / 357.7 MB, free: 10.2 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-beta.om/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.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 79.88 kB / 0.4917 GB, free: 7.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1275, allocations: 66.04 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01041/0.1379, allocations: 8.729 MB / 0.5647 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004846/0.1427, allocations: 2.301 MB / 0.567 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007398/0.1435, allocations: 43.88 kB / 0.567 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.1465, allocations: 1.561 MB / 0.5685 GB, free: 8.832 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.1476, allocations: 493.3 kB / 0.569 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1479, allocations: 71.84 kB / 0.5691 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.1492, allocations: 0.9293 MB / 0.57 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.1509, allocations: 1.276 MB / 0.5712 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007828/0.1517, allocations: 0.5488 MB / 0.5717 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009847/0.1526, allocations: 0.7199 MB / 0.5725 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.1528, allocations: 116 kB / 0.5726 GB, free: 4.656 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.1531, allocations: 131.9 kB / 0.5727 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007068/0.1538, allocations: 0.7478 MB / 0.5734 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008214/0.1547, allocations: 0.8464 MB / 0.5742 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.1572, allocations: 2.325 MB / 0.5765 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1572, allocations: 3.938 kB / 0.5765 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1572, allocations: 0 / 0.5765 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.49e-05/0.1572, allocations: 0 / 0.5765 GB, free: 0.5859 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.002968/0.1602, allocations: 1.991 MB / 0.5785 GB, free: 14.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1603, allocations: 16.03 kB / 0.5785 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003783/0.1606, allocations: 334.5 kB / 0.5788 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/0.1612, allocations: 223.4 kB / 0.579 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.1624, allocations: 0.7306 MB / 0.5797 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.804e-05/0.1625, allocations: 115.4 kB / 0.5798 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/0.1627, allocations: 151.9 kB / 0.58 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/0.1671, allocations: 3.371 MB / 0.5833 GB, free: 9.227 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.1671, allocations: 19.81 kB / 0.5833 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.1672, allocations: 71.94 kB / 0.5834 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007817/0.168, allocations: 0.6188 MB / 0.584 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003064/0.1711, allocations: 1.858 MB / 0.5858 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2556/0.4267, allocations: 13.51 MB / 0.599 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.204e-05/0.4268, allocations: 171.3 kB / 0.5991 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.4268, allocations: 85.62 kB / 0.5992 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.4268, allocations: 75.98 kB / 0.5993 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.4269, allocations: 109.7 kB / 0.5994 GB, free: 23.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.265e-06/0.4269, allocations: 0 / 0.5994 GB, free: 23.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.000249/0.4271, allocations: 161.1 kB / 0.5995 GB, free: 23.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.4272, allocations: 129.8 kB / 0.5997 GB, free: 23.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.4295, allocations: 1.652 MB / 0.6013 GB, free: 23.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.4295, allocations: 25.7 kB / 0.6013 GB, free: 23.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007925/0.4303, allocations: 1.414 MB / 0.6027 GB, free: 22.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.219e-05/0.4304, allocations: 45.48 kB / 0.6027 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005587/0.4309, allocations: 424 kB / 0.6031 GB, free: 22.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4311, allocations: 358.4 kB / 0.6035 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.4316, allocations: 374 kB / 0.6038 GB, free: 22.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.4327, allocations: 1.934 MB / 0.6057 GB, free: 20.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.4345, allocations: 2.51 MB / 0.6082 GB, free: 17.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-05/0.4345, allocations: 16.66 kB / 0.6082 GB, free: 17.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003229/0.4378, allocations: 2.121 MB / 0.6103 GB, free: 16.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/0.4378, allocations: 30.25 kB / 0.6103 GB, free: 16.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-05/0.4379, allocations: 59.34 kB / 0.6103 GB, free: 16.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.431e-05/0.438, allocations: 74.47 kB / 0.6104 GB, free: 16.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4391, allocations: 486.5 kB / 0.6109 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001128/0.4392, allocations: 117.2 kB / 0.611 GB, free: 16.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.4408, allocations: 329.2 kB / 0.6113 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.4411, allocations: 138.9 kB / 0.6114 GB, free: 16.38 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.001042/0.4421, allocations: 0.8615 MB / 0.6123 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.4423, allocations: 240.4 kB / 0.6125 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.4425, allocations: 232.7 kB / 0.6127 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.4425, allocations: 178.4 kB / 0.6129 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-05/0.4425, allocations: 182.2 kB / 0.6131 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/0.4425, allocations: 182.2 kB / 0.6133 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.4443, allocations: 1.479 MB / 0.6147 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.4443, allocations: 106.7 kB / 0.6148 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-05/0.4443, allocations: 102.4 kB / 0.6149 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.501e-05/0.4444, allocations: 181.6 kB / 0.6151 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.4444, allocations: 182 kB / 0.6152 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.26e-05/0.4444, allocations: 181.7 kB / 0.6154 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.339e-05/0.4444, allocations: 181.8 kB / 0.6156 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.4446, allocations: 439.4 kB / 0.616 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.4449, allocations: 297.9 kB / 0.6163 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.445, allocations: 182.7 kB / 0.6165 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.4452, allocations: 103.8 kB / 0.6166 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.4453, allocations: 186 kB / 0.6167 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.4453, allocations: 106.9 kB / 0.6168 GB, free: 12.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001269/0.4465, allocations: 1.017 MB / 0.6178 GB, free: 11.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4465, allocations: 0 / 0.6178 GB, free: 11.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001848/0.4484, allocations: 433.1 kB / 0.6183 GB, free: 11.52 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.0003679/0.4488, allocations: 0.9382 MB / 0.6192 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.4502, allocations: 0.8714 MB / 0.62 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4502, allocations: 3.938 kB / 0.62 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.4502, allocations: 1.875 kB / 0.62 GB, free: 10.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007831/0.451, allocations: 0.5778 MB / 0.6206 GB, free: 9.816 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/0.4683, allocations: 13.6 MB / 0.6339 GB, free: 136 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/0.4698, allocations: 1.579 MB / 0.6354 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001153/0.4709, allocations: 0.4887 MB / 0.6359 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008187/0.4717, allocations: 0.6667 MB / 0.6365 GB, free: 14.32 MB / 462.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4717, allocations: 0 / 0.6365 GB, free: 14.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05711/0.5288, allocations: 21.81 MB / 0.6578 GB, free: 9.879 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.6, allocations: 13.55 kB / 0.6579 GB, free: 9.871 MB / 478.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.712351340800524] Failed to read output from testmodel.py, exit status != 0: ['time'] 11.679416705854237 11.70216617 11.540671449 Calling exit ...