Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 213.3 kB / 23.72 MB, free: 4.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 46.97 MB / 360.9 MB, free: 4.051 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.89 kB / 0.4961 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3314, allocations: 66.04 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001733/0.3331, allocations: 492 kB / 0.561 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00755/0.3407, allocations: 4.571 MB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.3407, allocations: 7.938 kB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.3407, allocations: 0 / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.049e-06/0.3407, allocations: 0 / 0.5655 GB, free: 15.18 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.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.007574/0.3483, allocations: 3.286 MB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 4.343e-05/0.3483, allocations: 0 / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.3484, allocations: 3.984 kB / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.481e-05/0.3484, allocations: 7.984 kB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.417e-05/0.3484, allocations: 0 / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.6e-06/0.3484, allocations: 3.938 kB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02878/0.3772, allocations: 19.97 MB / 0.5882 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.3772, allocations: 4 kB / 0.5882 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.093e-05/0.3772, allocations: 3.984 kB / 0.5882 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03739/0.4146, allocations: 26.13 MB / 0.6138 GB, free: 13.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4146, allocations: 0 / 0.6138 GB, free: 13.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4146, allocations: 0 / 0.6138 GB, free: 13.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4146, allocations: 4 kB / 0.6138 GB, free: 13.71 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.006167/0.4208, allocations: 0.5943 MB / 0.6144 GB, free: 13.08 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4209, allocations: 8.031 kB / 0.6144 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.4209, allocations: 34.69 kB / 0.6144 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.627e-05/0.4209, allocations: 0.9375 kB / 0.6144 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.817e-05/0.421, allocations: 105.2 kB / 0.6145 GB, free: 12.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.421, allocations: 11.98 kB / 0.6145 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-06/0.421, allocations: 0 / 0.6145 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.4211, allocations: 59.39 kB / 0.6146 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.4211, allocations: 0 / 0.6146 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-06/0.4211, allocations: 0 / 0.6146 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4211, allocations: 0 / 0.6146 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.864e-05/0.4212, allocations: 25.7 kB / 0.6146 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001307/0.4213, allocations: 128.6 kB / 0.6147 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.4213, allocations: 52.14 kB / 0.6148 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.4214, allocations: 34.66 kB / 0.6148 GB, free: 12.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.973e-06/0.4214, allocations: 4 kB / 0.6148 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.73e-05/0.4214, allocations: 56.27 kB / 0.6149 GB, free: 12.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4214, allocations: 0 / 0.6149 GB, free: 12.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001988/0.4216, allocations: 126.7 kB / 0.615 GB, free: 12.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.4217, allocations: 77.11 kB / 0.615 GB, free: 12.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.4217, allocations: 89.86 kB / 0.6151 GB, free: 12.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4218, allocations: 25.7 kB / 0.6152 GB, free: 12.06 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.4218, allocations: 80.14 kB / 0.6152 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.4218, allocations: 0 / 0.6152 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.4218, allocations: 17.72 kB / 0.6152 GB, free: 11.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.422, allocations: 318.9 kB / 0.6156 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.509e-05/0.422, allocations: 25.7 kB / 0.6156 GB, free: 11.61 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.18e-05/0.422, allocations: 37.69 kB / 0.6156 GB, free: 11.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.4221, allocations: 60.27 kB / 0.6157 GB, free: 11.49 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4221, allocations: 0 / 0.6157 GB, free: 11.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.209e-05/0.4222, allocations: 93.05 kB / 0.6158 GB, free: 11.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.4222, allocations: 33.69 kB / 0.6158 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4222, allocations: 0 / 0.6158 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.4222, allocations: 0 / 0.6158 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.4222, allocations: 8.031 kB / 0.6158 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.4222, allocations: 0 / 0.6158 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.4222, allocations: 7.938 kB / 0.6158 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.4222, allocations: 0 / 0.6158 GB, free: 11.32 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 8.858e-05/0.4223, allocations: 135.5 kB / 0.6159 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.4223, allocations: 0 / 0.6159 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.082e-05/0.4223, allocations: 3 kB / 0.6159 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.4223, allocations: 0 / 0.6159 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4223, allocations: 0 / 0.6159 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.4224, allocations: 3.938 kB / 0.6159 GB, free: 11.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.92e-05/0.4224, allocations: 124.8 kB / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4224, allocations: 4 kB / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.4224, allocations: 0 / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.4224, allocations: 0 / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.4225, allocations: 0 / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4225, allocations: 3.938 kB / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4225, allocations: 0 / 0.6161 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.4226, allocations: 124.4 kB / 0.6162 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-06/0.4226, allocations: 4 kB / 0.6162 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.4226, allocations: 0 / 0.6162 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-06/0.4226, allocations: 0 / 0.6162 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.4226, allocations: 4.031 kB / 0.6162 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.4226, allocations: 11.92 kB / 0.6162 GB, free: 10.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.987e-05/0.4226, allocations: 75.28 kB / 0.6163 GB, free: 10.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4226, allocations: 0 / 0.6163 GB, free: 10.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009712/0.4324, allocations: 3.784 MB / 0.62 GB, free: 6.965 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.01912/0.4515, allocations: 1.545 MB / 0.6215 GB, free: 5.402 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.4517, allocations: 106.8 kB / 0.6216 GB, free: 5.273 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4517, allocations: 4.062 kB / 0.6216 GB, free: 5.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.4517, allocations: 85.11 kB / 0.6217 GB, free: 5.168 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.4519, allocations: 14.27 kB / 0.6217 GB, free: 5.156 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.4577, allocations: 370.6 kB / 0.622 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.981e-05/0.4578, allocations: 55.34 kB / 0.6221 GB, free: 4.672 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 7.314e-06/0.4578, allocations: 4 kB / 0.6221 GB, free: 4.668 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.4578, allocations: 7.438 kB / 0.6221 GB, free: 4.66 MB / 462.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4578, allocations: 0 / 0.6221 GB, free: 4.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1946/0.6524, allocations: 114.4 MB / 0.7338 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.18/18.83, allocations: 4 kB / 0.7338 GB, free: 2.172 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.887311281985603] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 18.971917843009578 19.18533496 18.766773818 Calling exit ...