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.001209/0.001209, allocations: 101.9 kB / 20.49 MB, free: 1.234 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.001406/0.001406, allocations: 218.9 kB / 23.78 MB, free: 4.152 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.417/1.417, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.2331/0.2331, allocations: 44.26 MB / 331.1 MB, free: 9.316 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.003293/0.003293, allocations: 72.5 kB / 468.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1519, allocations: 61.04 MB / 0.5169 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00184/0.1538, allocations: 0.5026 MB / 0.5174 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.1561, allocations: 1.543 MB / 0.5189 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.1561, allocations: 0 / 0.5189 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.1561, allocations: 0 / 0.5189 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.1561, allocations: 0 / 0.5189 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.1572, allocations: 299.2 kB / 0.5192 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.529e-05/0.1572, allocations: 4 kB / 0.5192 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1573, allocations: 0 / 0.5192 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.1573, allocations: 4 kB / 0.5192 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.26e-05/0.1573, allocations: 3.984 kB / 0.5192 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.523e-06/0.1573, allocations: 0 / 0.5192 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000706/0.158, allocations: 431 kB / 0.5196 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.776e-06/0.158, allocations: 0 / 0.5196 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.1581, allocations: 3.938 kB / 0.5196 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.1585, allocations: 303.2 kB / 0.5199 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1585, allocations: 0 / 0.5199 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1585, allocations: 0 / 0.5199 GB, free: 4.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1585, allocations: 0 / 0.5199 GB, free: 4.117 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.0004293/0.159, allocations: 295.8 kB / 0.5202 GB, free: 3.793 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.159, allocations: 8.031 kB / 0.5202 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.688e-05/0.159, allocations: 4.188 kB / 0.5202 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.592e-05/0.1591, allocations: 30.75 kB / 0.5202 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.1591, allocations: 4.938 kB / 0.5202 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1592, allocations: 106.5 kB / 0.5203 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-06/0.1592, allocations: 384 / 0.5203 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.1593, allocations: 8.312 kB / 0.5203 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.1594, allocations: 55.34 kB / 0.5204 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1594, allocations: 3.938 kB / 0.5204 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1594, allocations: 4 kB / 0.5204 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1594, allocations: 0 / 0.5204 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.925e-05/0.1595, allocations: 25.7 kB / 0.5204 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1596, allocations: 124.8 kB / 0.5205 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.1597, allocations: 48.22 kB / 0.5206 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.1598, allocations: 38.59 kB / 0.5206 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.1598, allocations: 3.938 kB / 0.5206 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/0.1598, allocations: 56.27 kB / 0.5207 GB, free: 3.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1598, allocations: 0 / 0.5207 GB, free: 3.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.000273/0.1601, allocations: 118.8 kB / 0.5208 GB, free: 3.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.1602, allocations: 81.11 kB / 0.5209 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.1603, allocations: 89.86 kB / 0.521 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.1603, allocations: 25.7 kB / 0.521 GB, free: 2.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.1603, allocations: 80.14 kB / 0.5211 GB, free: 2.699 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.1604, allocations: 4.125 kB / 0.5211 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1604, allocations: 17.72 kB / 0.5211 GB, free: 2.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1606, allocations: 314.8 kB / 0.5214 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.1606, allocations: 29.64 kB / 0.5214 GB, free: 2.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.1606, allocations: 29.7 kB / 0.5214 GB, free: 2.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.1607, allocations: 60.27 kB / 0.5215 GB, free: 2.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1607, allocations: 0 / 0.5215 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001065/0.1608, allocations: 93.03 kB / 0.5216 GB, free: 2.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.1609, allocations: 33.7 kB / 0.5216 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1609, allocations: 4.094 kB / 0.5216 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1609, allocations: 0 / 0.5216 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.1609, allocations: 0 / 0.5216 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1609, allocations: 0 / 0.5216 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.1609, allocations: 7.922 kB / 0.5216 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1609, allocations: 4 kB / 0.5216 GB, free: 2.047 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.000118/0.161, allocations: 135.5 kB / 0.5218 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.1611, allocations: 11.92 kB / 0.5218 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.1611, allocations: 7 kB / 0.5218 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1611, allocations: 0 / 0.5218 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1611, allocations: 0 / 0.5218 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1611, allocations: 4 kB / 0.5218 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.1612, allocations: 116.8 kB / 0.5219 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1612, allocations: 4 kB / 0.5219 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-06/0.1612, allocations: 3.938 kB / 0.5219 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.1612, allocations: 0 / 0.5219 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.1612, allocations: 0 / 0.5219 GB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1612, allocations: 7.922 kB / 0.5219 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1612, allocations: 3.938 kB / 0.5219 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1613, allocations: 112.5 kB / 0.522 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.1614, allocations: 11.92 kB / 0.522 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.1614, allocations: 4.031 kB / 0.522 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-06/0.1614, allocations: 0 / 0.522 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.1614, allocations: 0 / 0.522 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.1614, allocations: 0 / 0.522 GB, free: 1.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.1614, allocations: 83.22 kB / 0.5221 GB, free: 1.465 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1614, allocations: 0 / 0.5221 GB, free: 1.465 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000386/0.1618, allocations: 67.8 kB / 0.5222 GB, free: 1.398 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.0008353/0.1627, allocations: 0.7333 MB / 0.5229 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1628, allocations: 114.8 kB / 0.523 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1628, allocations: 0 / 0.523 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/0.1629, allocations: 93.09 kB / 0.5231 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.163, allocations: 5.812 kB / 0.5231 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.1634, allocations: 164.1 kB / 0.5232 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.1634, allocations: 51.36 kB / 0.5233 GB, free: 100 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.686e-06/0.1634, allocations: 4 kB / 0.5233 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.1635, allocations: 11.44 kB / 0.5233 GB, free: 84 kB / 398.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1635, allocations: 0 / 0.5233 GB, free: 84 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1873, allocations: 2.295 MB / 0.5256 GB, free: 13.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.55, allocations: 12 kB / 0.5256 GB, free: 13.78 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.619947272003628] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.708550826064311 11.909586338 11.561418751 Calling exit ...