Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.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.001342/0.001342, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001519/0.001519, allocations: 225.9 kB / 23.01 MB, free: 5.039 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.465/1.465, allocations: 207.6 MB / 233.8 MB, free: 9.988 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.229/0.229, allocations: 44.24 MB / 330.3 MB, free: 9.613 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.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",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.003543/0.003543, allocations: 67.91 kB / 467.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.158, allocations: 61.04 MB / 0.5161 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00217/0.1602, allocations: 0.5104 MB / 0.5166 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008995/0.1692, allocations: 5.12 MB / 0.5216 GB, free: 1.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.1692, allocations: 4 kB / 0.5216 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.1692, allocations: 0 / 0.5216 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.271e-06/0.1692, allocations: 0 / 0.5216 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009276/0.1785, allocations: 3.345 MB / 0.5249 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.308e-05/0.1786, allocations: 7.984 kB / 0.5249 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.1786, allocations: 0 / 0.5249 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.956e-05/0.1786, allocations: 0 / 0.5249 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.683e-05/0.1787, allocations: 0 / 0.5249 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-06/0.1787, allocations: 0 / 0.5249 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2871/0.4657, allocations: 21.08 MB / 0.5455 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.4657, allocations: 3.953 kB / 0.5455 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.4658, allocations: 3.875 kB / 0.5455 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04264/0.5084, allocations: 27.77 MB / 0.5726 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.5084, allocations: 0 / 0.5726 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.5084, allocations: 0 / 0.5726 GB, free: 5.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.5084, allocations: 0 / 0.5726 GB, free: 5.652 MB / 414.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.01532/0.5237, allocations: 0.6217 MB / 0.5732 GB, free: 5.105 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/0.5238, allocations: 9.5 kB / 0.5732 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.5239, allocations: 31.69 kB / 0.5733 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.5239, allocations: 1.875 kB / 0.5733 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.906e-05/0.524, allocations: 110.3 kB / 0.5734 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.524, allocations: 0 / 0.5734 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.524, allocations: 0 / 0.5734 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.5242, allocations: 36.88 kB / 0.5734 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5242, allocations: 3.969 kB / 0.5734 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.5242, allocations: 0 / 0.5734 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5242, allocations: 0.625 kB / 0.5734 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.5242, allocations: 3.156 kB / 0.5734 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.5244, allocations: 124.1 kB / 0.5735 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.5244, allocations: 17.83 kB / 0.5735 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.5244, allocations: 4.859 kB / 0.5735 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.5245, allocations: 0 / 0.5735 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/0.5245, allocations: 62.98 kB / 0.5736 GB, free: 4.637 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.5245, allocations: 1.062 kB / 0.5736 GB, free: 4.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002411/0.5248, allocations: 65.83 kB / 0.5737 GB, free: 4.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.5248, allocations: 78.7 kB / 0.5737 GB, free: 4.473 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.002e-05/0.5248, allocations: 89.86 kB / 0.5738 GB, free: 4.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.5249, allocations: 28.86 kB / 0.5739 GB, free: 4.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.5249, allocations: 83.14 kB / 0.5739 GB, free: 4.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.5249, allocations: 0 / 0.5739 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.5249, allocations: 20.89 kB / 0.574 GB, free: 4.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.785e-05/0.525, allocations: 314.8 kB / 0.5743 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.525, allocations: 0 / 0.5743 GB, free: 3.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.525, allocations: 3.969 kB / 0.5743 GB, free: 3.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.868e-05/0.5251, allocations: 60.86 kB / 0.5743 GB, free: 3.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5251, allocations: 4.312 kB / 0.5743 GB, free: 3.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.829e-05/0.5252, allocations: 69.67 kB / 0.5744 GB, free: 3.781 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.5252, allocations: 28.92 kB / 0.5744 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5252, allocations: 0 / 0.5744 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.5252, allocations: 3 kB / 0.5744 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/0.5252, allocations: 1.375 kB / 0.5744 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.5252, allocations: 3.469 kB / 0.5744 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.5253, allocations: 0 / 0.5744 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.5253, allocations: 0 / 0.5744 GB, free: 3.75 MB / 414.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 8.088e-05/0.5253, allocations: 139.9 kB / 0.5746 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.5254, allocations: 3.359 kB / 0.5746 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.5254, allocations: 10.08 kB / 0.5746 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.5254, allocations: 0 / 0.5746 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5254, allocations: 0 / 0.5746 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.5254, allocations: 3.938 kB / 0.5746 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.81e-05/0.5255, allocations: 120.3 kB / 0.5747 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5255, allocations: 2.531 kB / 0.5747 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-06/0.5255, allocations: 1.812 kB / 0.5747 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.5255, allocations: 3.75 kB / 0.5747 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.5255, allocations: 0.9688 kB / 0.5747 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5255, allocations: 0 / 0.5747 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5255, allocations: 8.672 kB / 0.5747 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.5256, allocations: 99.86 kB / 0.5748 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-06/0.5256, allocations: 3.953 kB / 0.5748 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.5256, allocations: 3.984 kB / 0.5748 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.105e-05/0.5256, allocations: 6.875 kB / 0.5748 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.5256, allocations: 0 / 0.5748 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.5256, allocations: 3.562 kB / 0.5748 GB, free: 3.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.704e-05/0.5257, allocations: 75.28 kB / 0.5749 GB, free: 3.246 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.5257, allocations: 0 / 0.5749 GB, free: 3.246 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01564/0.5413, allocations: 3.823 MB / 0.5786 GB, free: 3.09 MB / 414.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.03742/0.5787, allocations: 1.54 MB / 0.5801 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.5789, allocations: 63.39 kB / 0.5802 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5789, allocations: 0 / 0.5802 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.382e-05/0.5789, allocations: 55.41 kB / 0.5802 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.5791, allocations: 2.484 kB / 0.5802 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.5932, allocations: 368 kB / 0.5806 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.5933, allocations: 0.669 MB / 0.5812 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.614e-06/0.5934, allocations: 4.125 kB / 0.5813 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.759e-05/0.5934, allocations: 11.44 kB / 0.5813 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5934, allocations: 0 / 0.5813 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2136/0.807, allocations: 114.6 MB / 0.6931 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.17/19.97, allocations: 3.938 kB / 0.6931 GB, free: 14.05 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.89044932788238] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 20.122625705087557 20.14461312 19.63256983 Calling exit ...