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.0008348/0.0008348, allocations: 84.33 kB / 20.67 MB, free: 3.883 MB / 18.57 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.0008694/0.0008694, allocations: 160.9 kB / 23.94 MB, free: 0.6094 MB / 18.57 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 0.9321/0.9321, allocations: 177.1 MB / 204.2 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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.2529/0.2529, allocations: 34.24 MB / 294.9 MB, free: 0.6797 MB / 266.7 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 2.234e-06/2.234e-06, allocations: 0 / 442.2 MB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.665e-05, allocations: 6.219 kB / 442.2 MB, free: 1.562 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001399/0.001425, allocations: 0.4916 MB / 442.7 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1847/0.1861, allocations: 4.564 MB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.1861, allocations: 0.7188 kB / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.1862, allocations: 0 / 447.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.735e-06/0.1862, allocations: 6.844 kB / 447.3 MB, free: 41.88 MB / 410.7 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.005239/0.1914, allocations: 3.278 MB / 450.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.637e-05/0.1915, allocations: 3.062 kB / 450.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.1915, allocations: 3.938 kB / 450.5 MB, free: 40.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.053e-05/0.1915, allocations: 3 kB / 450.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.004e-05/0.1916, allocations: 4.156 kB / 450.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.807e-06/0.1916, allocations: 0 / 450.6 MB, free: 40.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02058/0.2121, allocations: 19.8 MB / 470.4 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.2122, allocations: 0 / 470.4 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.2122, allocations: 4.25 kB / 470.4 MB, free: 37.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04315/0.2553, allocations: 30.69 MB / 0.4893 GB, free: 21.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2553, allocations: 4 kB / 0.4893 GB, free: 21.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2553, allocations: 0 / 0.4893 GB, free: 21.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.2554, allocations: 0 / 0.4893 GB, free: 21.9 MB / 410.7 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.01306/0.2684, allocations: 0.5943 MB / 0.4899 GB, free: 21.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.2685, allocations: 19.3 kB / 0.4899 GB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.714e-05/0.2685, allocations: 34.75 kB / 0.4899 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.2685, allocations: 0.9375 kB / 0.4899 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.679e-05/0.2686, allocations: 105.8 kB / 0.49 GB, free: 21.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2686, allocations: 10.69 kB / 0.4901 GB, free: 21.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.2686, allocations: 0 / 0.4901 GB, free: 21.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.2688, allocations: 51.41 kB / 0.4901 GB, free: 21.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2688, allocations: 7.938 kB / 0.4901 GB, free: 21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2688, allocations: 0 / 0.4901 GB, free: 21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2688, allocations: 3.422 kB / 0.4901 GB, free: 21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.574e-05/0.2688, allocations: 29.69 kB / 0.4901 GB, free: 20.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.2689, allocations: 124.7 kB / 0.4903 GB, free: 20.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/0.269, allocations: 44.28 kB / 0.4903 GB, free: 20.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.269, allocations: 34.66 kB / 0.4903 GB, free: 20.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.269, allocations: 0 / 0.4903 GB, free: 20.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.269, allocations: 60.25 kB / 0.4904 GB, free: 20.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.269, allocations: 0 / 0.4904 GB, free: 20.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002012/0.2692, allocations: 122.7 kB / 0.4905 GB, free: 20.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.2693, allocations: 81.11 kB / 0.4906 GB, free: 20.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.967e-05/0.2693, allocations: 89.86 kB / 0.4907 GB, free: 20.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.2693, allocations: 25.7 kB / 0.4907 GB, free: 20.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.638e-06/0.2693, allocations: 84.27 kB / 0.4908 GB, free: 20.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.2693, allocations: 0 / 0.4908 GB, free: 20.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.2694, allocations: 17.7 kB / 0.4908 GB, free: 20.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.2694, allocations: 310.8 kB / 0.4911 GB, free: 19.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.2694, allocations: 25.7 kB / 0.4911 GB, free: 19.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.305e-05/0.2694, allocations: 33.7 kB / 0.4911 GB, free: 19.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.2695, allocations: 64.2 kB / 0.4912 GB, free: 19.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2695, allocations: 3.938 kB / 0.4912 GB, free: 19.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.832e-05/0.2695, allocations: 89.03 kB / 0.4913 GB, free: 19.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.2695, allocations: 41.8 kB / 0.4913 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2696, allocations: 0 / 0.4913 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2696, allocations: 0 / 0.4913 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.2696, allocations: 0 / 0.4913 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2696, allocations: 0 / 0.4913 GB, free: 19.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.2696, allocations: 4.562 kB / 0.4913 GB, free: 19.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.2696, allocations: 0 / 0.4913 GB, free: 19.52 MB / 410.7 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.65e-05/0.2697, allocations: 139.5 kB / 0.4915 GB, free: 19.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.2697, allocations: 4 kB / 0.4915 GB, free: 19.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.192e-05/0.2697, allocations: 3 kB / 0.4915 GB, free: 19.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2697, allocations: 4 kB / 0.4915 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2697, allocations: 0.8438 kB / 0.4915 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2697, allocations: 0 / 0.4915 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.191e-05/0.2697, allocations: 123 kB / 0.4916 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2697, allocations: 3.984 kB / 0.4916 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-07/0.2697, allocations: 0 / 0.4916 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.2697, allocations: 0 / 0.4916 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.2698, allocations: 0 / 0.4916 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.2698, allocations: 3.938 kB / 0.4916 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2698, allocations: 0 / 0.4916 GB, free: 19.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.658e-05/0.2698, allocations: 122.9 kB / 0.4917 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.682e-06/0.2698, allocations: 8.031 kB / 0.4917 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2699, allocations: 0 / 0.4917 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-06/0.2699, allocations: 0 / 0.4917 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.2699, allocations: 0 / 0.4917 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.2699, allocations: 8 kB / 0.4917 GB, free: 19.03 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.459e-05/0.2699, allocations: 75.28 kB / 0.4918 GB, free: 18.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2699, allocations: 0 / 0.4918 GB, free: 18.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01704/0.2869, allocations: 3.783 MB / 0.4955 GB, free: 15.17 MB / 410.7 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.02567/0.3126, allocations: 1.641 MB / 0.4971 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.3127, allocations: 106.8 kB / 0.4972 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3127, allocations: 0 / 0.4972 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.3128, allocations: 89.03 kB / 0.4973 GB, free: 13.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001021/0.3129, allocations: 3.938 kB / 0.4973 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00968/0.3225, allocations: 366.6 kB / 0.4977 GB, free: 12.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.287e-05/0.3226, allocations: 59.34 kB / 0.4977 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.063e-06/0.3226, allocations: 0 / 0.4977 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.3226, allocations: 16.62 kB / 0.4977 GB, free: 12.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/0.3226, allocations: 0 / 0.4977 GB, free: 12.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1475/0.4701, allocations: 114.5 MB / 0.6095 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.98, allocations: 8.062 kB / 0.6096 GB, free: 10.21 MB / 0.5105 GB " [Timeout remaining time 648] (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: 14.081730845849961] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 12.089110399130732 12.098739909 11.841490769 Calling exit ...