Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.001268/0.001268, allocations: 109 kB / 20.48 MB, free: 1.477 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.001422/0.001422, allocations: 208.2 kB / 23.78 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 207.6 MB / 234.6 MB, free: 9.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.236/0.236, allocations: 44.24 MB / 331.1 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002209/0.002209, allocations: 74.41 kB / 468.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1332, allocations: 61.04 MB / 0.5169 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001663/0.1348, allocations: 0.4987 MB / 0.5174 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002365/0.1372, allocations: 1.617 MB / 0.519 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.717e-05/0.1372, allocations: 0 / 0.519 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.1372, allocations: 4 kB / 0.519 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.1372, allocations: 3.938 kB / 0.519 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009926/0.1382, allocations: 291.2 kB / 0.5193 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.1383, allocations: 0 / 0.5193 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.1383, allocations: 0 / 0.5193 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.524e-05/0.1383, allocations: 0 / 0.5193 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.751e-05/0.1384, allocations: 7.984 kB / 0.5193 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-06/0.1384, allocations: 0 / 0.5193 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008952/0.1393, allocations: 0.6003 MB / 0.5198 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.526e-06/0.1393, allocations: 0 / 0.5198 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.1393, allocations: 3.938 kB / 0.5198 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004737/0.1398, allocations: 327.2 kB / 0.5202 GB, free: 3.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1398, allocations: 4 kB / 0.5202 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1398, allocations: 0 / 0.5202 GB, free: 3.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1398, allocations: 0 / 0.5202 GB, free: 3.98 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004021/0.1402, allocations: 295.8 kB / 0.5204 GB, free: 3.656 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.1402, allocations: 8.031 kB / 0.5205 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.407e-05/0.1402, allocations: 4.188 kB / 0.5205 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.1403, allocations: 30.75 kB / 0.5205 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.1403, allocations: 4.922 kB / 0.5205 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.768e-05/0.1404, allocations: 106.5 kB / 0.5206 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.1404, allocations: 384 / 0.5206 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.1404, allocations: 4.312 kB / 0.5206 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1405, allocations: 33.64 kB / 0.5206 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.1405, allocations: 0 / 0.5206 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1405, allocations: 4 kB / 0.5206 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1405, allocations: 0 / 0.5206 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.079e-05/0.1406, allocations: 4 kB / 0.5206 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.1407, allocations: 124.7 kB / 0.5208 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.762e-05/0.1407, allocations: 14.58 kB / 0.5208 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.1408, allocations: 12.73 kB / 0.5208 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.1408, allocations: 8.031 kB / 0.5208 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.1408, allocations: 64.27 kB / 0.5209 GB, free: 3.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.1408, allocations: 0 / 0.5209 GB, free: 3.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001934/0.141, allocations: 63.39 kB / 0.5209 GB, free: 3.059 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.1411, allocations: 77.11 kB / 0.521 GB, free: 2.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.304e-05/0.1411, allocations: 89.86 kB / 0.5211 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1412, allocations: 25.7 kB / 0.5211 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.1412, allocations: 80.14 kB / 0.5212 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.1412, allocations: 0 / 0.5212 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1413, allocations: 21.84 kB / 0.5212 GB, free: 2.727 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.1414, allocations: 310.8 kB / 0.5215 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.1414, allocations: 3.938 kB / 0.5215 GB, free: 2.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-06/0.1414, allocations: 4 kB / 0.5215 GB, free: 2.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.808e-05/0.1415, allocations: 64.25 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.1415, allocations: 4 kB / 0.5216 GB, free: 2.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.278e-05/0.1416, allocations: 63.34 kB / 0.5216 GB, free: 2.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.1416, allocations: 33.7 kB / 0.5217 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1416, allocations: 4.094 kB / 0.5217 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1416, allocations: 0 / 0.5217 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.1416, allocations: 0 / 0.5217 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1417, allocations: 3.984 kB / 0.5217 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.1417, allocations: 3.938 kB / 0.5217 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1417, allocations: 4 kB / 0.5217 GB, free: 2.195 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001082/0.1418, allocations: 135.5 kB / 0.5218 GB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.1418, allocations: 3.938 kB / 0.5218 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.977e-06/0.1418, allocations: 3 kB / 0.5218 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.1418, allocations: 8 kB / 0.5218 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1418, allocations: 0 / 0.5218 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1418, allocations: 0 / 0.5218 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.1419, allocations: 116.8 kB / 0.5219 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1419, allocations: 0 / 0.5219 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-06/0.1419, allocations: 3.938 kB / 0.5219 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1419, allocations: 4 kB / 0.5219 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.1419, allocations: 0 / 0.5219 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.1419, allocations: 0 / 0.5219 GB, free: 1.871 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1419, allocations: 3.938 kB / 0.5219 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.1421, allocations: 98.83 kB / 0.522 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.1421, allocations: 3.938 kB / 0.522 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.1421, allocations: 0 / 0.522 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.1421, allocations: 3.938 kB / 0.522 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.1421, allocations: 4 kB / 0.522 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1421, allocations: 0 / 0.522 GB, free: 1.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.616e-05/0.1422, allocations: 79.22 kB / 0.5221 GB, free: 1.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1422, allocations: 32 / 0.5221 GB, free: 1.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.1425, allocations: 67.8 kB / 0.5222 GB, free: 1.59 MB / 398.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0008779/0.1434, allocations: 0.7202 MB / 0.5229 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1435, allocations: 55.41 kB / 0.5229 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1435, allocations: 0 / 0.5229 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.353e-05/0.1436, allocations: 63.33 kB / 0.523 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.1437, allocations: 13.94 kB / 0.523 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.1441, allocations: 134.4 kB / 0.5231 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1445, allocations: 0.669 MB / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.352e-06/0.1445, allocations: 0 / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.1445, allocations: 11.44 kB / 0.5238 GB, free: 15.8 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.1445, allocations: 0 / 0.5238 GB, free: 15.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.1668, allocations: 2.26 MB / 0.526 GB, free: 13.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.45, allocations: 4.062 kB / 0.526 GB, free: 13.54 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.577878869022243] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.613117838976905 11.855926714 11.494936554 Calling exit ...