Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001883/0.001883, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002947/0.002947, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.478/1.478, allocations: 230.4 MB / 254 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.92 MB / 357 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 83.88 kB / 0.491 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.134, allocations: 66.05 MB / 0.5555 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001749/0.1358, allocations: 490.2 kB / 0.5559 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.139, allocations: 2.154 MB / 0.558 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.139, allocations: 0 / 0.558 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.49e-05/0.1391, allocations: 3.938 kB / 0.558 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.621e-06/0.1391, allocations: 0 / 0.558 GB, free: 2.918 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001842/0.1409, allocations: 0.732 MB / 0.5587 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.141, allocations: 4 kB / 0.5587 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.045e-05/0.141, allocations: 0 / 0.5587 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.141, allocations: 3.984 kB / 0.5587 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.83e-05/0.141, allocations: 4 kB / 0.5588 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.631e-06/0.141, allocations: 0 / 0.5588 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.1432, allocations: 1.58 MB / 0.5603 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.405e-06/0.1432, allocations: 0 / 0.5603 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.1432, allocations: 3.984 kB / 0.5603 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.1448, allocations: 1.555 MB / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1448, allocations: 0 / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1448, allocations: 0 / 0.5618 GB, free: 15.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1448, allocations: 0 / 0.5618 GB, free: 15.04 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.0006107/0.1455, allocations: 420.5 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1455, allocations: 12.03 kB / 0.5622 GB, free: 14.56 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.281e-05/0.1455, allocations: 30.75 kB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.1455, allocations: 4.938 kB / 0.5623 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1457, allocations: 160.4 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.1457, allocations: 384 / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.1457, allocations: 4.375 kB / 0.5624 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.104e-05/0.1458, allocations: 37.75 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1458, allocations: 7.922 kB / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-06/0.1458, allocations: 0 / 0.5625 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1458, allocations: 4 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.715e-05/0.1458, allocations: 0 / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1459, allocations: 149.7 kB / 0.5626 GB, free: 14.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.488e-05/0.146, allocations: 18.61 kB / 0.5626 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.52e-05/0.146, allocations: 8.859 kB / 0.5626 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.146, allocations: 0 / 0.5626 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.1461, allocations: 72.12 kB / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1461, allocations: 0 / 0.5627 GB, free: 13.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001696/0.1462, allocations: 67.52 kB / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1463, allocations: 81.14 kB / 0.5628 GB, free: 13.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.252e-05/0.1463, allocations: 89.86 kB / 0.5629 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.1464, allocations: 29.7 kB / 0.563 GB, free: 13.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.1464, allocations: 80.14 kB / 0.563 GB, free: 13.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.1464, allocations: 3.984 kB / 0.563 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.1464, allocations: 13.7 kB / 0.5631 GB, free: 13.53 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1466, allocations: 318.8 kB / 0.5634 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.1466, allocations: 4 kB / 0.5634 GB, free: 13.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.999e-06/0.1466, allocations: 4 kB / 0.5634 GB, free: 13.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.108e-05/0.1466, allocations: 64.2 kB / 0.5634 GB, free: 13.12 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1466, allocations: 0 / 0.5634 GB, free: 13.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.408e-05/0.1467, allocations: 63.39 kB / 0.5635 GB, free: 13.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.1468, allocations: 33.64 kB / 0.5635 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1468, allocations: 0 / 0.5635 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1468, allocations: 0 / 0.5635 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.1468, allocations: 0 / 0.5635 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1468, allocations: 4.094 kB / 0.5635 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.1468, allocations: 4 kB / 0.5635 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.1468, allocations: 0 / 0.5635 GB, free: 13 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.413e-05/0.1469, allocations: 135.5 kB / 0.5637 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/0.1469, allocations: 11.92 kB / 0.5637 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-06/0.1469, allocations: 3.125 kB / 0.5637 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1469, allocations: 0 / 0.5637 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1469, allocations: 0 / 0.5637 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1469, allocations: 0 / 0.5637 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.147, allocations: 149.6 kB / 0.5638 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.147, allocations: 7.938 kB / 0.5638 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.147, allocations: 0 / 0.5638 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.147, allocations: 7.922 kB / 0.5638 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.147, allocations: 0 / 0.5638 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.147, allocations: 0 / 0.5638 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.147, allocations: 0 / 0.5638 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.455e-05/0.1471, allocations: 86.84 kB / 0.5639 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.1472, allocations: 89.06 kB / 0.564 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.1472, allocations: 0 / 0.564 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-06/0.1472, allocations: 0 / 0.564 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.1472, allocations: 4 kB / 0.564 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-06/0.1472, allocations: 0 / 0.564 GB, free: 12.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.359e-05/0.1473, allocations: 75.28 kB / 0.5641 GB, free: 12.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1473, allocations: 0 / 0.5641 GB, free: 12.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008182/0.1481, allocations: 283.5 kB / 0.5643 GB, free: 12.06 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.001697/0.1498, allocations: 0.9307 MB / 0.5653 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001089/0.1499, allocations: 67.39 kB / 0.5653 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1499, allocations: 0 / 0.5653 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.1499, allocations: 51.41 kB / 0.5654 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.15, allocations: 7.938 kB / 0.5654 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.1505, allocations: 166.4 kB / 0.5655 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1508, allocations: 0.6729 MB / 0.5662 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.342e-06/0.1508, allocations: 0 / 0.5662 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.1509, allocations: 11.38 kB / 0.5662 GB, free: 10.04 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1509, allocations: 0 / 0.5662 GB, free: 10.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.1829, allocations: 8.221 MB / 0.5742 GB, free: 1.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.453, allocations: 16 kB / 0.5742 GB, free: 1.855 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.522560696001165] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.525855792919174 8.553130545 8.403264991 Calling exit ...