Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.001571/0.001571, allocations: 115.2 kB / 17.13 MB, free: 5.93 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.001885/0.001885, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 207.6 MB / 230.5 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3342/0.3342, allocations: 44.23 MB / 326.6 MB, free: 6.84 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.91 kB / 462.2 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2981, allocations: 61.01 MB / 0.5109 GB, free: 13.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.001605/0.2997, allocations: 0.5006 MB / 0.5114 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.3015, allocations: 1.603 MB / 0.513 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.3015, allocations: 0 / 0.513 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.3015, allocations: 0 / 0.513 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.3016, allocations: 0 / 0.513 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.3024, allocations: 272.4 kB / 0.5132 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.745e-05/0.3024, allocations: 1.719 kB / 0.5132 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.3025, allocations: 1.688 kB / 0.5133 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.3025, allocations: 4 kB / 0.5133 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.328e-05/0.3025, allocations: 1.594 kB / 0.5133 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-06/0.3025, allocations: 3.938 kB / 0.5133 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006349/0.3031, allocations: 0.5286 MB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.004e-05/0.3031, allocations: 1.219 kB / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.3032, allocations: 0 / 0.5138 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.3035, allocations: 303 kB / 0.5141 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3036, allocations: 4 kB / 0.5141 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3036, allocations: 0 / 0.5141 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3036, allocations: 0 / 0.5141 GB, free: 10.93 MB / 382.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.0003169/0.3039, allocations: 379.9 kB / 0.5144 GB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.3039, allocations: 14.64 kB / 0.5144 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.913e-05/0.3039, allocations: 30.75 kB / 0.5145 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.304, allocations: 0.9375 kB / 0.5145 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.253e-05/0.304, allocations: 168.3 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.304, allocations: 2.156 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.304, allocations: 4.312 kB / 0.5146 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.3041, allocations: 41.34 kB / 0.5147 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3041, allocations: 7.922 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.3041, allocations: 0 / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.3042, allocations: 0 / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.771e-05/0.3042, allocations: 5.75 kB / 0.5147 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.362e-05/0.3043, allocations: 143.4 kB / 0.5148 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.098e-05/0.3043, allocations: 20.27 kB / 0.5149 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.3043, allocations: 8.859 kB / 0.5149 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.3043, allocations: 1.812 kB / 0.5149 GB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3044, allocations: 72.19 kB / 0.5149 GB, free: 9.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.3044, allocations: 1.812 kB / 0.5149 GB, free: 9.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.3045, allocations: 58.5 kB / 0.515 GB, free: 9.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.3046, allocations: 77.11 kB / 0.5151 GB, free: 9.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.161e-05/0.3046, allocations: 93.8 kB / 0.5152 GB, free: 9.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-06/0.3046, allocations: 27.55 kB / 0.5152 GB, free: 9.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.141e-05/0.3046, allocations: 84.27 kB / 0.5153 GB, free: 9.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.3046, allocations: 0 / 0.5153 GB, free: 9.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.3046, allocations: 21.27 kB / 0.5153 GB, free: 9.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.3047, allocations: 310.8 kB / 0.5156 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.3047, allocations: 0 / 0.5156 GB, free: 9.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.3047, allocations: 1.812 kB / 0.5156 GB, free: 9.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.364e-05/0.3047, allocations: 59.98 kB / 0.5156 GB, free: 9.117 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3047, allocations: 4.062 kB / 0.5156 GB, free: 9.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.96e-05/0.3048, allocations: 65.77 kB / 0.5157 GB, free: 9.043 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.3048, allocations: 35.86 kB / 0.5157 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3048, allocations: 0 / 0.5157 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.3048, allocations: 0 / 0.5157 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.3048, allocations: 5.281 kB / 0.5157 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3048, allocations: 0 / 0.5157 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.3049, allocations: 1.688 kB / 0.5157 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.3049, allocations: 0 / 0.5157 GB, free: 9.004 MB / 382.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 4.671e-05/0.3049, allocations: 138.5 kB / 0.5159 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.3049, allocations: 3.938 kB / 0.5159 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.988e-06/0.3049, allocations: 7.109 kB / 0.5159 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.3049, allocations: 2.406 kB / 0.5159 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3049, allocations: 0 / 0.5159 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.3049, allocations: 0 / 0.5159 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.123e-05/0.305, allocations: 147.2 kB / 0.516 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.305, allocations: 0 / 0.516 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.305, allocations: 0 / 0.516 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.305, allocations: 3.938 kB / 0.516 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.305, allocations: 10.09 kB / 0.516 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.305, allocations: 3.984 kB / 0.516 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.305, allocations: 0 / 0.516 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.923e-05/0.3051, allocations: 90.09 kB / 0.5161 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.3051, allocations: 88.97 kB / 0.5162 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.3051, allocations: 1.375 kB / 0.5162 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-06/0.3051, allocations: 1.375 kB / 0.5162 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.3051, allocations: 0 / 0.5162 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3051, allocations: 5.406 kB / 0.5162 GB, free: 8.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.354e-05/0.3051, allocations: 75.28 kB / 0.5163 GB, free: 8.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3051, allocations: 0 / 0.5163 GB, free: 8.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000341/0.3055, allocations: 67.86 kB / 0.5164 GB, free: 8.328 MB / 382.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.0005478/0.306, allocations: 0.7248 MB / 0.5171 GB, free: 7.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.353e-05/0.3061, allocations: 63.47 kB / 0.5171 GB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3061, allocations: 0 / 0.5171 GB, free: 7.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.761e-05/0.3061, allocations: 55.53 kB / 0.5172 GB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.3063, allocations: 1.375 kB / 0.5172 GB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.3066, allocations: 138.8 kB / 0.5173 GB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.3067, allocations: 0.6703 MB / 0.518 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.442e-06/0.3067, allocations: 0 / 0.518 GB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.042e-05/0.3067, allocations: 12.75 kB / 0.518 GB, free: 6.637 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3067, allocations: 0 / 0.518 GB, free: 6.637 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.3303, allocations: 2.105 MB / 0.52 GB, free: 5.141 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.012/8.342, allocations: 0.6562 kB / 0.52 GB, free: 5.141 MB / 382.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.293290275993058] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.424410221996368 8.445834194 8.137950059 Calling exit ...