Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.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.001701/0.001701, allocations: 122.7 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.00247/0.00247, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.47/1.47, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2277/0.2277, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",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.002945/0.002945, allocations: 83.86 kB / 0.4912 GB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1478, allocations: 65.98 MB / 0.5556 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001834/0.1497, allocations: 0.4982 MB / 0.5561 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.153, allocations: 2.151 MB / 0.5582 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.153, allocations: 0 / 0.5582 GB, free: 3.805 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.153, allocations: 3.938 kB / 0.5582 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.153, allocations: 0 / 0.5582 GB, free: 3.801 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.1551, allocations: 0.7236 MB / 0.5589 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.104e-05/0.1552, allocations: 8 kB / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1552, allocations: 0 / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.1552, allocations: 0 / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.067e-05/0.1552, allocations: 0 / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.1552, allocations: 0 / 0.5589 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.1574, allocations: 1.584 MB / 0.5605 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.1574, allocations: 4 kB / 0.5605 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.1575, allocations: 4 kB / 0.5605 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.159, allocations: 1.552 MB / 0.562 GB, free: 15.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.159, allocations: 0 / 0.562 GB, free: 15.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.159, allocations: 0 / 0.562 GB, free: 15.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.159, allocations: 0 / 0.562 GB, free: 15.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005768/0.1596, allocations: 420.4 kB / 0.5624 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1596, allocations: 12.03 kB / 0.5624 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.1597, allocations: 30.75 kB / 0.5624 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.1597, allocations: 0.9375 kB / 0.5624 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.1598, allocations: 160.4 kB / 0.5626 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1598, allocations: 4.375 kB / 0.5626 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.1598, allocations: 384 / 0.5626 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.514e-05/0.1599, allocations: 45.81 kB / 0.5626 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1599, allocations: 7.922 kB / 0.5627 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.1599, allocations: 0 / 0.5627 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1599, allocations: 0 / 0.5627 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.16, allocations: 7.938 kB / 0.5627 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.1601, allocations: 141.7 kB / 0.5628 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.161e-05/0.1601, allocations: 22.56 kB / 0.5628 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.1602, allocations: 12.95 kB / 0.5628 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.1602, allocations: 0 / 0.5628 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/0.1602, allocations: 64.2 kB / 0.5629 GB, free: 14.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1602, allocations: 0 / 0.5629 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001833/0.1604, allocations: 67.3 kB / 0.563 GB, free: 14.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.525e-05/0.1605, allocations: 81.09 kB / 0.563 GB, free: 14.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.559e-05/0.1605, allocations: 93.98 kB / 0.5631 GB, free: 14.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.1605, allocations: 25.7 kB / 0.5631 GB, free: 14.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.1606, allocations: 80.14 kB / 0.5632 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.1606, allocations: 4 kB / 0.5632 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.1606, allocations: 13.72 kB / 0.5632 GB, free: 14.42 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1607, allocations: 314.8 kB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.1608, allocations: 0 / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-06/0.1608, allocations: 4 kB / 0.5635 GB, free: 14.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.118e-05/0.1608, allocations: 64.33 kB / 0.5636 GB, free: 14.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1608, allocations: 0 / 0.5636 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.471e-05/0.1609, allocations: 67.33 kB / 0.5637 GB, free: 13.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.1609, allocations: 37.64 kB / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.247e-06/0.1609, allocations: 0 / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1609, allocations: 0 / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.1609, allocations: 0 / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.1609, allocations: 0 / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.511e-05/0.161, allocations: 0 / 0.5637 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.161, allocations: 12.03 kB / 0.5637 GB, free: 13.89 MB / 430.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 9.43e-05/0.1611, allocations: 135.5 kB / 0.5638 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.1611, allocations: 3.938 kB / 0.5639 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.606e-06/0.1611, allocations: 3.125 kB / 0.5639 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1611, allocations: 4 kB / 0.5639 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1611, allocations: 0 / 0.5639 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1611, allocations: 0 / 0.5639 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1612, allocations: 149.6 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1612, allocations: 0 / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1612, allocations: 4 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1612, allocations: 3.938 kB / 0.564 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1612, allocations: 8 kB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1612, allocations: 0 / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1612, allocations: 0 / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1613, allocations: 94.77 kB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1614, allocations: 81.05 kB / 0.5642 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.1614, allocations: 0 / 0.5642 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.1614, allocations: 4.031 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.1614, allocations: 0 / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.1614, allocations: 4 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.273e-05/0.1614, allocations: 75.28 kB / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1614, allocations: 0 / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007834/0.1622, allocations: 275.6 kB / 0.5645 GB, free: 12.96 MB / 430.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.001566/0.1638, allocations: 0.9438 MB / 0.5654 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.1639, allocations: 63.39 kB / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1639, allocations: 0 / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.1639, allocations: 51.41 kB / 0.5656 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1641, allocations: 10.61 kB / 0.5656 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000457/0.1645, allocations: 162.3 kB / 0.5657 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1648, allocations: 0.6769 MB / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.909e-06/0.1648, allocations: 0 / 0.5664 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.1648, allocations: 11.38 kB / 0.5664 GB, free: 10.93 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1648, allocations: 0 / 0.5664 GB, free: 10.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.198, allocations: 8.223 MB / 0.5744 GB, free: 2.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.323, allocations: 8 kB / 0.5744 GB, free: 2.754 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.186625252012163] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.392087956424803 8.407786854 8.245538602 Calling exit ...