Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001432/0.001432, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.00149/0.00149, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.465/1.465, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2368/0.2368, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2",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.002297/0.002297, allocations: 83.86 kB / 0.4917 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1264, allocations: 66.04 MB / 0.5561 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001614/0.128, allocations: 497 kB / 0.5566 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007659/0.1356, allocations: 4.915 MB / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.1357, allocations: 0 / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1357, allocations: 0 / 0.5614 GB, free: 148 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.1357, allocations: 0 / 0.5614 GB, free: 148 kB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.006715/0.1424, allocations: 2.943 MB / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.366e-05/0.1424, allocations: 0 / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.1425, allocations: 4 kB / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.201e-05/0.1425, allocations: 0 / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.426e-05/0.1425, allocations: 0 / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.14e-06/0.1425, allocations: 0 / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03701/0.1795, allocations: 19.57 MB / 0.5834 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.1795, allocations: 0 / 0.5834 GB, free: 9.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.1795, allocations: 7.938 kB / 0.5834 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3139/0.4934, allocations: 27.48 MB / 0.6102 GB, free: 20.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.4935, allocations: 1.375 kB / 0.6102 GB, free: 20.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4935, allocations: 0 / 0.6102 GB, free: 20.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4935, allocations: 0 / 0.6102 GB, free: 20.98 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.01819/0.5117, allocations: 0.6722 MB / 0.6109 GB, free: 20.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5117, allocations: 9.906 kB / 0.6109 GB, free: 20.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.829e-05/0.5117, allocations: 31.28 kB / 0.6109 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.5118, allocations: 6.969 kB / 0.6109 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.572e-05/0.5118, allocations: 163.5 kB / 0.6111 GB, free: 20.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.5118, allocations: 3.938 kB / 0.6111 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.5118, allocations: 2.906 kB / 0.6111 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.331e-05/0.5119, allocations: 35.7 kB / 0.6111 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.5119, allocations: 0 / 0.6111 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.5119, allocations: 0 / 0.6111 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.5119, allocations: 1.344 kB / 0.6111 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.812e-05/0.512, allocations: 2.875 kB / 0.6111 GB, free: 20.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.614e-05/0.5121, allocations: 148.6 kB / 0.6113 GB, free: 19.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.5121, allocations: 21.08 kB / 0.6113 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.5121, allocations: 5.734 kB / 0.6113 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.5121, allocations: 1.281 kB / 0.6113 GB, free: 19.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5122, allocations: 66.03 kB / 0.6114 GB, free: 19.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5122, allocations: 0 / 0.6114 GB, free: 19.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.5123, allocations: 66.69 kB / 0.6114 GB, free: 19.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.5124, allocations: 77.11 kB / 0.6115 GB, free: 19.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.161e-05/0.5124, allocations: 97.86 kB / 0.6116 GB, free: 19.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.5124, allocations: 25.7 kB / 0.6116 GB, free: 19.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.518e-06/0.5124, allocations: 82.77 kB / 0.6117 GB, free: 19.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.5124, allocations: 1.281 kB / 0.6117 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.5124, allocations: 15.06 kB / 0.6117 GB, free: 19.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.5125, allocations: 312.4 kB / 0.612 GB, free: 19.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-06/0.5125, allocations: 1 kB / 0.612 GB, free: 19.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.5125, allocations: 2.406 kB / 0.612 GB, free: 19.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.5125, allocations: 63.98 kB / 0.6121 GB, free: 19.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.5126, allocations: 3.938 kB / 0.6121 GB, free: 19.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.107e-05/0.5126, allocations: 68.62 kB / 0.6122 GB, free: 19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.5126, allocations: 34.12 kB / 0.6122 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.5126, allocations: 3.5 kB / 0.6122 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5127, allocations: 3.875 kB / 0.6122 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-06/0.5127, allocations: 0.9688 kB / 0.6122 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5127, allocations: 0 / 0.6122 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.5127, allocations: 1 kB / 0.6122 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.5127, allocations: 1.094 kB / 0.6122 GB, free: 18.96 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.623e-05/0.5127, allocations: 145.2 kB / 0.6123 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.5128, allocations: 4.781 kB / 0.6123 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.123e-05/0.5128, allocations: 3.125 kB / 0.6123 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5128, allocations: 2.438 kB / 0.6124 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5128, allocations: 3.125 kB / 0.6124 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5128, allocations: 0.875 kB / 0.6124 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.302e-05/0.5128, allocations: 146.9 kB / 0.6125 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5128, allocations: 3 kB / 0.6125 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.02e-07/0.5128, allocations: 1.375 kB / 0.6125 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.5128, allocations: 0 / 0.6125 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.076e-06/0.5128, allocations: 4.656 kB / 0.6125 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.5128, allocations: 0 / 0.6125 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5128, allocations: 3.188 kB / 0.6125 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.544e-05/0.5129, allocations: 93.53 kB / 0.6126 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.5129, allocations: 80.62 kB / 0.6127 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.5129, allocations: 3.875 kB / 0.6127 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.513, allocations: 0.8125 kB / 0.6127 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-06/0.513, allocations: 1.031 kB / 0.6127 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.513, allocations: 1.188 kB / 0.6127 GB, free: 18.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.048e-05/0.513, allocations: 76.5 kB / 0.6128 GB, free: 18.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 5e-08/0.513, allocations: 1.781 kB / 0.6128 GB, free: 18.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01963/0.5326, allocations: 3.79 MB / 0.6165 GB, free: 17.47 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.04/0.5726, allocations: 1.514 MB / 0.6179 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.5728, allocations: 67.53 kB / 0.618 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5728, allocations: 4 kB / 0.618 GB, free: 16.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.317e-05/0.5728, allocations: 52.58 kB / 0.6181 GB, free: 16.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.5729, allocations: 4 kB / 0.6181 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.5906, allocations: 340.7 kB / 0.6184 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.5907, allocations: 0.669 MB / 0.619 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.929e-06/0.5907, allocations: 4.125 kB / 0.619 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.5907, allocations: 11.44 kB / 0.619 GB, free: 14.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.704e-06/0.5907, allocations: 0 / 0.619 GB, free: 14.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1887/0.7795, allocations: 113.8 MB / 0.7302 GB, free: 13.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.57/16.35, allocations: 15.92 kB / 0.7302 GB, free: 13.05 MB / 0.545 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.418058153241873] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 16.458848220761865 16.482184057 15.984337856 Calling exit ...