Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.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.001321/0.001321, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.00141/0.00141, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.475/1.475, allocations: 230.5 MB / 254 MB, free: 15.17 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.2276/0.2276, allocations: 46.92 MB / 357 MB, free: 10.21 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.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 79.88 kB / 0.491 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1447, allocations: 66.04 MB / 0.5554 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.002117/0.1468, allocations: 0.4892 MB / 0.5559 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01123/0.158, allocations: 4.911 MB / 0.5607 GB, free: 148 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.1581, allocations: 0 / 0.5607 GB, free: 148 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.1581, allocations: 4 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.1581, allocations: 0 / 0.5607 GB, free: 144 kB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.007476/0.1656, allocations: 2.943 MB / 0.5636 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.02e-05/0.1656, allocations: 4 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.1657, allocations: 0 / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.638e-05/0.1657, allocations: 0 / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.643e-05/0.1657, allocations: 0 / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.851e-06/0.1657, allocations: 4 kB / 0.5636 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02972/0.1954, allocations: 19.57 MB / 0.5827 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1954, allocations: 0 / 0.5827 GB, free: 9.609 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.1955, allocations: 3.938 kB / 0.5827 GB, free: 9.605 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3185/0.5139, allocations: 27.47 MB / 0.6095 GB, free: 21.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.5139, allocations: 0 / 0.6095 GB, free: 21.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5139, allocations: 1.375 kB / 0.6096 GB, free: 21.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.514, allocations: 1.688 kB / 0.6096 GB, free: 21.02 MB / 446.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.01767/0.5316, allocations: 0.6798 MB / 0.6102 GB, free: 20.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5317, allocations: 10.5 kB / 0.6102 GB, free: 20.44 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.379e-05/0.5317, allocations: 31.69 kB / 0.6103 GB, free: 20.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.5317, allocations: 4.875 kB / 0.6103 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.387e-05/0.5318, allocations: 164.4 kB / 0.6104 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.5318, allocations: 4.5 kB / 0.6104 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.5318, allocations: 2.375 kB / 0.6104 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.916e-05/0.5319, allocations: 30.77 kB / 0.6105 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5319, allocations: 3.219 kB / 0.6105 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.5319, allocations: 0 / 0.6105 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.5319, allocations: 0 / 0.6105 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.5319, allocations: 1.375 kB / 0.6105 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.064e-05/0.532, allocations: 152.7 kB / 0.6106 GB, free: 19.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.532, allocations: 18.86 kB / 0.6106 GB, free: 19.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.5321, allocations: 6.016 kB / 0.6106 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.5321, allocations: 1.719 kB / 0.6106 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.5321, allocations: 57.61 kB / 0.6107 GB, free: 19.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.5321, allocations: 3.75 kB / 0.6107 GB, free: 19.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001763/0.5323, allocations: 71.92 kB / 0.6108 GB, free: 19.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.5323, allocations: 81.03 kB / 0.6108 GB, free: 19.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.871e-05/0.5323, allocations: 89.86 kB / 0.6109 GB, free: 19.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.5323, allocations: 25.7 kB / 0.6109 GB, free: 19.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.018e-05/0.5323, allocations: 81.39 kB / 0.611 GB, free: 19.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.5324, allocations: 0 / 0.611 GB, free: 19.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.5324, allocations: 18.94 kB / 0.611 GB, free: 19.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.5324, allocations: 312.4 kB / 0.6113 GB, free: 19.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/0.5325, allocations: 3.156 kB / 0.6113 GB, free: 19.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.5325, allocations: 1.031 kB / 0.6113 GB, free: 19.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.5325, allocations: 63.8 kB / 0.6114 GB, free: 19.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5325, allocations: 4.75 kB / 0.6114 GB, free: 19.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.553e-05/0.5326, allocations: 63.23 kB / 0.6115 GB, free: 19.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.5326, allocations: 31.73 kB / 0.6115 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5326, allocations: 0 / 0.6115 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.5326, allocations: 5.375 kB / 0.6115 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.5326, allocations: 0 / 0.6115 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.5326, allocations: 0 / 0.6115 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.5326, allocations: 1.312 kB / 0.6115 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.5326, allocations: 0 / 0.6115 GB, free: 19.01 MB / 446.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 5.47e-05/0.5327, allocations: 148.1 kB / 0.6116 GB, free: 18.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-06/0.5327, allocations: 6.781 kB / 0.6117 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.207e-06/0.5327, allocations: 3.875 kB / 0.6117 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.5327, allocations: 1.281 kB / 0.6117 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.5327, allocations: 2.672 kB / 0.6117 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.5327, allocations: 1.219 kB / 0.6117 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.202e-05/0.5328, allocations: 151.2 kB / 0.6118 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5328, allocations: 1.312 kB / 0.6118 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.5328, allocations: 4.344 kB / 0.6118 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.5328, allocations: 0 / 0.6118 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.5328, allocations: 1.312 kB / 0.6118 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5328, allocations: 1.438 kB / 0.6118 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5328, allocations: 1.406 kB / 0.6118 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.839e-05/0.5328, allocations: 94.86 kB / 0.6119 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.448e-05/0.5329, allocations: 77.11 kB / 0.612 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.5329, allocations: 1.094 kB / 0.612 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.838e-06/0.5329, allocations: 3.25 kB / 0.612 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.5329, allocations: 6.5 kB / 0.612 GB, free: 18.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.5329, allocations: 0 / 0.612 GB, free: 18.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.08e-05/0.5329, allocations: 77.03 kB / 0.6121 GB, free: 18.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 4e-08/0.5329, allocations: 0.5625 kB / 0.6121 GB, free: 18.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0227/0.5556, allocations: 3.787 MB / 0.6158 GB, free: 17.54 MB / 446.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.04391/0.5995, allocations: 1.521 MB / 0.6172 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.5996, allocations: 59.34 kB / 0.6173 GB, free: 16.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5996, allocations: 0 / 0.6173 GB, free: 16.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.937e-05/0.5997, allocations: 55.41 kB / 0.6174 GB, free: 16.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.5998, allocations: 4.125 kB / 0.6174 GB, free: 16.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/0.6151, allocations: 341.8 kB / 0.6177 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.07e-05/0.6151, allocations: 0.669 MB / 0.6183 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.123e-06/0.6152, allocations: 4 kB / 0.6183 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.6152, allocations: 7.438 kB / 0.6183 GB, free: 15.03 MB / 446.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6152, allocations: 0 / 0.6183 GB, free: 15.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1962/0.8114, allocations: 113.8 MB / 0.7295 GB, free: 13.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.15, allocations: 18.34 kB / 0.7295 GB, free: 13.09 MB / 0.545 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2_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_TestMatrices2.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.20546869095415] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 16.25481741700787 16.278601861 15.761406295 Calling exit ...