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.001597/0.001597, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001757/0.001757, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.49/1.49, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.238/0.238, allocations: 46.88 MB / 357.4 MB, free: 10.5 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.002347/0.002347, allocations: 83.86 kB / 0.4912 GB, free: 8.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1378, allocations: 65.98 MB / 0.5557 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.01048/0.1482, allocations: 8.74 MB / 0.5642 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005365/0.1536, allocations: 2.297 MB / 0.5664 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.1544, allocations: 40 kB / 0.5665 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.1576, allocations: 1.565 MB / 0.568 GB, free: 9.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.1587, allocations: 493.3 kB / 0.5685 GB, free: 9.199 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.159, allocations: 71.91 kB / 0.5686 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/0.1601, allocations: 0.9332 MB / 0.5695 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.1616, allocations: 1.276 MB / 0.5707 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.1622, allocations: 0.5371 MB / 0.5712 GB, free: 6.352 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.1632, allocations: 0.72 MB / 0.5719 GB, free: 5.629 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.1634, allocations: 116 kB / 0.572 GB, free: 5.516 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.1637, allocations: 128 kB / 0.5722 GB, free: 5.391 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007167/0.1644, allocations: 0.74 MB / 0.5729 GB, free: 4.648 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008493/0.1653, allocations: 0.8502 MB / 0.5737 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.1679, allocations: 2.333 MB / 0.576 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1679, allocations: 0 / 0.576 GB, free: 1.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1679, allocations: 3.938 kB / 0.576 GB, free: 1.445 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.152e-05/0.168, allocations: 0 / 0.576 GB, free: 1.445 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.003009/0.171, allocations: 1.999 MB / 0.578 GB, free: 15.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.171, allocations: 12.03 kB / 0.578 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003882/0.1714, allocations: 334.5 kB / 0.5783 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005747/0.172, allocations: 219.4 kB / 0.5785 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.1733, allocations: 0.7151 MB / 0.5792 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.1734, allocations: 119.3 kB / 0.5793 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001907/0.1736, allocations: 151.9 kB / 0.5795 GB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00481/0.1784, allocations: 3.383 MB / 0.5828 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/0.1785, allocations: 19.88 kB / 0.5828 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.1787, allocations: 71.94 kB / 0.5828 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007908/0.1795, allocations: 0.6187 MB / 0.5835 GB, free: 9.379 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.1829, allocations: 1.858 MB / 0.5853 GB, free: 7.516 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2568/0.4397, allocations: 13.5 MB / 0.5985 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.4397, allocations: 174.6 kB / 0.5986 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.4397, allocations: 81.36 kB / 0.5987 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.4398, allocations: 75.28 kB / 0.5988 GB, free: 24.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4398, allocations: 107.8 kB / 0.5989 GB, free: 24.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 2.846e-06/0.4398, allocations: 1.078 kB / 0.5989 GB, free: 24.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002437/0.44, allocations: 163.3 kB / 0.599 GB, free: 24.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4401, allocations: 131 kB / 0.5992 GB, free: 24.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002148/0.4422, allocations: 1.657 MB / 0.6008 GB, free: 24.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.234e-06/0.4422, allocations: 25.7 kB / 0.6008 GB, free: 24.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007971/0.443, allocations: 1.411 MB / 0.6022 GB, free: 23.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.4431, allocations: 45.05 kB / 0.6022 GB, free: 23.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/0.4436, allocations: 427.5 kB / 0.6026 GB, free: 23.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4437, allocations: 361.1 kB / 0.603 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/0.4443, allocations: 370.2 kB / 0.6033 GB, free: 23.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.4455, allocations: 1.933 MB / 0.6052 GB, free: 20.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/0.4476, allocations: 2.512 MB / 0.6077 GB, free: 18.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.527e-05/0.4477, allocations: 16.81 kB / 0.6077 GB, free: 18.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003283/0.4509, allocations: 2.118 MB / 0.6097 GB, free: 17.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.451, allocations: 30.16 kB / 0.6098 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-05/0.4511, allocations: 59.69 kB / 0.6098 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.646e-05/0.4512, allocations: 73.59 kB / 0.6099 GB, free: 17.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.4524, allocations: 486.2 kB / 0.6104 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000164/0.4525, allocations: 113 kB / 0.6105 GB, free: 17.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.454, allocations: 336.1 kB / 0.6108 GB, free: 16.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.4541, allocations: 137.3 kB / 0.6109 GB, free: 16.96 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.0009695/0.4551, allocations: 0.8699 MB / 0.6118 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.4553, allocations: 228.5 kB / 0.612 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.4554, allocations: 236.8 kB / 0.6122 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.4554, allocations: 178.2 kB / 0.6124 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-05/0.4555, allocations: 182.3 kB / 0.6126 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-05/0.4555, allocations: 182.3 kB / 0.6127 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.4572, allocations: 1.471 MB / 0.6142 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/0.4573, allocations: 115 kB / 0.6143 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.4573, allocations: 102.8 kB / 0.6144 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.401e-05/0.4573, allocations: 178 kB / 0.6146 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.4573, allocations: 185 kB / 0.6147 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/0.4574, allocations: 178.2 kB / 0.6149 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.567e-05/0.4574, allocations: 186 kB / 0.6151 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002051/0.4576, allocations: 432.9 kB / 0.6155 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.4579, allocations: 307.6 kB / 0.6158 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.458, allocations: 178.2 kB / 0.616 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.4583, allocations: 107.1 kB / 0.6161 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.4583, allocations: 186.2 kB / 0.6162 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.4583, allocations: 102.9 kB / 0.6163 GB, free: 12.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.4596, allocations: 1.021 MB / 0.6173 GB, free: 12.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4596, allocations: 0 / 0.6173 GB, free: 12.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001863/0.4614, allocations: 428.7 kB / 0.6177 GB, free: 12.09 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.0003687/0.4618, allocations: 0.9434 MB / 0.6187 GB, free: 11.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.4631, allocations: 0.8674 MB / 0.6195 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4631, allocations: 3.188 kB / 0.6195 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.4631, allocations: 9 kB / 0.6195 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.4638, allocations: 0.5744 MB / 0.6201 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.4795, allocations: 13.6 MB / 0.6334 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/0.4806, allocations: 1.573 MB / 0.6349 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001084/0.4817, allocations: 499.7 kB / 0.6354 GB, free: 15.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007676/0.4825, allocations: 0.6676 MB / 0.636 GB, free: 14.98 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4825, allocations: 0 / 0.636 GB, free: 14.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06139/0.5439, allocations: 21.82 MB / 0.6573 GB, free: 10.58 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.97, allocations: 6.031 kB / 0.6573 GB, free: 10.57 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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: 15.171547991223633] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.049944415222853 12.066406261 11.895279491 Calling exit ...