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.001754/0.001754, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002215/0.002215, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.435/1.435, allocations: 230.5 MB / 258.2 MB, free: 8.23 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.2276/0.2276, allocations: 46.93 MB / 361.6 MB, free: 4.254 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.002265/0.002265, allocations: 75.88 kB / 0.497 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3251, allocations: 66.09 MB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001643/0.3267, allocations: 493.1 kB / 0.562 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007685/0.3344, allocations: 4.957 MB / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.3344, allocations: 0 / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.3345, allocations: 0 / 0.5668 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 6.052e-06/0.3345, allocations: 0 / 0.5668 GB, free: 14.89 MB / 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.007973/0.3424, allocations: 3.262 MB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.3425, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.578e-05/0.3426, allocations: 4 kB / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.649e-05/0.3426, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.85e-05/0.3426, allocations: 0 / 0.57 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.272e-06/0.3426, allocations: 4 kB / 0.57 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03202/0.3746, allocations: 21.06 MB / 0.5906 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.3746, allocations: 0 / 0.5906 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.3747, allocations: 3.938 kB / 0.5906 GB, free: 6.539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03777/0.4124, allocations: 27.6 MB / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.4124, allocations: 0 / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4125, allocations: 4 kB / 0.6175 GB, free: 10.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.4125, allocations: 0 / 0.6175 GB, free: 10.89 MB / 462.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.007565/0.42, allocations: 0.6021 MB / 0.6181 GB, free: 10.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4201, allocations: 12.03 kB / 0.6181 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.4201, allocations: 30.75 kB / 0.6182 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.948e-05/0.4201, allocations: 0.9375 kB / 0.6182 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/0.4202, allocations: 117.7 kB / 0.6183 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.4203, allocations: 4 kB / 0.6183 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.4203, allocations: 0 / 0.6183 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.486e-05/0.4204, allocations: 29.69 kB / 0.6183 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.4204, allocations: 4 kB / 0.6183 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.4204, allocations: 0 / 0.6183 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.4204, allocations: 0 / 0.6183 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.69e-05/0.4204, allocations: 4 kB / 0.6183 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.4206, allocations: 132.7 kB / 0.6184 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.767e-05/0.4206, allocations: 18.52 kB / 0.6185 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.4206, allocations: 8.797 kB / 0.6185 GB, free: 9.801 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.4206, allocations: 0 / 0.6185 GB, free: 9.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.4207, allocations: 60.33 kB / 0.6185 GB, free: 9.727 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.4207, allocations: 4 kB / 0.6185 GB, free: 9.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001734/0.4209, allocations: 67.39 kB / 0.6186 GB, free: 9.645 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.4209, allocations: 77.11 kB / 0.6187 GB, free: 9.551 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.421, allocations: 89.86 kB / 0.6187 GB, free: 9.453 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.421, allocations: 25.7 kB / 0.6188 GB, free: 9.422 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.421, allocations: 80.14 kB / 0.6188 GB, free: 9.34 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.421, allocations: 3.938 kB / 0.6188 GB, free: 9.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.4211, allocations: 13.72 kB / 0.6189 GB, free: 9.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.4212, allocations: 318.9 kB / 0.6192 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.4212, allocations: 4 kB / 0.6192 GB, free: 8.992 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-06/0.4212, allocations: 4 kB / 0.6192 GB, free: 8.988 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.951e-05/0.4213, allocations: 60.25 kB / 0.6192 GB, free: 8.914 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4213, allocations: 0 / 0.6192 GB, free: 8.914 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.427e-05/0.4214, allocations: 59.41 kB / 0.6193 GB, free: 8.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.441e-05/0.4214, allocations: 33.7 kB / 0.6193 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4214, allocations: 0 / 0.6193 GB, free: 8.805 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4214, allocations: 4.094 kB / 0.6193 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.4214, allocations: 0 / 0.6193 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4214, allocations: 3.938 kB / 0.6193 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.4215, allocations: 7.922 kB / 0.6193 GB, free: 8.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4215, allocations: 0 / 0.6193 GB, free: 8.789 MB / 462.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 0.0001051/0.4216, allocations: 143.5 kB / 0.6195 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-06/0.4216, allocations: 0 / 0.6195 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.123e-05/0.4216, allocations: 3 kB / 0.6195 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.4216, allocations: 0 / 0.6195 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4216, allocations: 8 kB / 0.6195 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4216, allocations: 0 / 0.6195 GB, free: 8.621 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.675e-05/0.4217, allocations: 120.7 kB / 0.6196 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4217, allocations: 0 / 0.6196 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.4217, allocations: 0 / 0.6196 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4217, allocations: 0 / 0.6196 GB, free: 8.461 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4217, allocations: 4 kB / 0.6196 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.4217, allocations: 0 / 0.6196 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.4217, allocations: 0 / 0.6196 GB, free: 8.457 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.4218, allocations: 98.77 kB / 0.6197 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-06/0.4218, allocations: 0 / 0.6197 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.4218, allocations: 4 kB / 0.6197 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-06/0.4219, allocations: 0 / 0.6197 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.4219, allocations: 3.938 kB / 0.6197 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.4219, allocations: 11.94 kB / 0.6197 GB, free: 8.316 MB / 462.1 MB Notification: Performance of sorting global known variables: time 3.197e-05/0.4219, allocations: 75.28 kB / 0.6198 GB, free: 8.242 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4219, allocations: 0 / 0.6198 GB, free: 8.242 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01105/0.433, allocations: 3.784 MB / 0.6235 GB, free: 4.457 MB / 462.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.01939/0.4523, allocations: 1.516 MB / 0.625 GB, free: 2.918 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.4525, allocations: 71.33 kB / 0.625 GB, free: 2.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4525, allocations: 4.062 kB / 0.625 GB, free: 2.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.542e-05/0.4525, allocations: 51.41 kB / 0.6251 GB, free: 2.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.4527, allocations: 4 kB / 0.6251 GB, free: 2.766 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/0.4585, allocations: 348.9 kB / 0.6254 GB, free: 2.383 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.4588, allocations: 0.669 MB / 0.6261 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.322e-06/0.4588, allocations: 0 / 0.6261 GB, free: 1.688 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.4588, allocations: 11.44 kB / 0.6261 GB, free: 1.676 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4588, allocations: 0 / 0.6261 GB, free: 1.676 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4275/0.8863, allocations: 113.8 MB / 0.7372 GB, free: 158 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.09, allocations: 1.531 kB / 0.7373 GB, free: 158 MB / 0.5606 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: 18.998519469983876] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 16.221661783289164 16.23717214 15.822268717 Calling exit ...