Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.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.001364/0.001364, allocations: 113.6 kB / 17.12 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.001649/0.001649, allocations: 213 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.479/1.479, 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.377/0.377, allocations: 44.23 MB / 326.6 MB, free: 6.832 MB / 254.1 MB " [Timeout remaining time 179] 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.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices3",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.002202/0.002202, allocations: 67.91 kB / 462.2 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2884, allocations: 60.99 MB / 0.5109 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001488/0.2899, allocations: 0.5067 MB / 0.5114 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2915, allocations: 1.552 MB / 0.5129 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.2915, allocations: 0 / 0.5129 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.146e-05/0.2915, allocations: 1.156 kB / 0.5129 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.2915, allocations: 0 / 0.5129 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007627/0.2923, allocations: 228.5 kB / 0.5132 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.325e-05/0.2923, allocations: 0 / 0.5132 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.2924, allocations: 7.844 kB / 0.5132 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.284e-05/0.2924, allocations: 0 / 0.5132 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.326e-05/0.2924, allocations: 0 / 0.5132 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-06/0.2924, allocations: 3.938 kB / 0.5132 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008058/0.2932, allocations: 0.7468 MB / 0.5139 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-06/0.2932, allocations: 0 / 0.5139 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.733e-05/0.2932, allocations: 5.094 kB / 0.5139 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.2939, allocations: 0.635 MB / 0.5145 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2939, allocations: 0 / 0.5145 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2939, allocations: 0 / 0.5145 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.2939, allocations: 0 / 0.5145 GB, free: 10.77 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.0003536/0.2942, allocations: 371.6 kB / 0.5149 GB, free: 10.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2943, allocations: 14.67 kB / 0.5149 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.2943, allocations: 30.75 kB / 0.5149 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.135e-05/0.2943, allocations: 0.9375 kB / 0.5149 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.517e-05/0.2944, allocations: 165.8 kB / 0.5151 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-06/0.2944, allocations: 384 / 0.5151 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.2944, allocations: 1.75 kB / 0.5151 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.223e-05/0.2945, allocations: 35.16 kB / 0.5151 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2945, allocations: 1.312 kB / 0.5151 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.2945, allocations: 4 kB / 0.5151 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.2945, allocations: 0 / 0.5151 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/0.2945, allocations: 1.438 kB / 0.5151 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.271e-05/0.2946, allocations: 147 kB / 0.5153 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.427e-05/0.2946, allocations: 20.83 kB / 0.5153 GB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.239e-05/0.2946, allocations: 9.938 kB / 0.5153 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-06/0.2946, allocations: 0 / 0.5153 GB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.2947, allocations: 69.23 kB / 0.5154 GB, free: 9.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.2947, allocations: 0 / 0.5154 GB, free: 9.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001449/0.2948, allocations: 67.61 kB / 0.5154 GB, free: 9.699 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.2948, allocations: 77.11 kB / 0.5155 GB, free: 9.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.882e-05/0.2948, allocations: 94.81 kB / 0.5156 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.2948, allocations: 25.7 kB / 0.5156 GB, free: 9.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.348e-06/0.2949, allocations: 84.08 kB / 0.5157 GB, free: 9.387 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.2949, allocations: 1.375 kB / 0.5157 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.2949, allocations: 15.38 kB / 0.5157 GB, free: 9.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.09e-05/0.2949, allocations: 316.5 kB / 0.516 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.2949, allocations: 0 / 0.516 GB, free: 9.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.295, allocations: 1.125 kB / 0.516 GB, free: 9.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.082e-05/0.295, allocations: 59.58 kB / 0.5161 GB, free: 8.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.295, allocations: 1.094 kB / 0.5161 GB, free: 8.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.925e-05/0.295, allocations: 61.77 kB / 0.5161 GB, free: 8.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.2951, allocations: 43.77 kB / 0.5162 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2951, allocations: 0 / 0.5162 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2951, allocations: 0 / 0.5162 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.814e-06/0.2951, allocations: 9.281 kB / 0.5162 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.2951, allocations: 3.938 kB / 0.5162 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.306e-05/0.2951, allocations: 0 / 0.5162 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2951, allocations: 1.312 kB / 0.5162 GB, free: 8.859 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.518e-05/0.2951, allocations: 138.3 kB / 0.5163 GB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-06/0.2952, allocations: 3.938 kB / 0.5163 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.057e-06/0.2952, allocations: 8.406 kB / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.2952, allocations: 0 / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.2952, allocations: 0 / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2952, allocations: 1.25 kB / 0.5163 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.794e-05/0.2952, allocations: 143 kB / 0.5165 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2952, allocations: 3.984 kB / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.2952, allocations: 0 / 0.5165 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2952, allocations: 5.25 kB / 0.5165 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.2952, allocations: 0 / 0.5165 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.2952, allocations: 1.375 kB / 0.5165 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2952, allocations: 0 / 0.5165 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.406e-05/0.2953, allocations: 93.48 kB / 0.5166 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.2953, allocations: 84.98 kB / 0.5166 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.2953, allocations: 2.031 kB / 0.5166 GB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.2953, allocations: 3.938 kB / 0.5166 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-06/0.2953, allocations: 9.109 kB / 0.5167 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.2953, allocations: 1.188 kB / 0.5167 GB, free: 8.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.668e-06/0.2953, allocations: 75.28 kB / 0.5167 GB, free: 8.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.2953, allocations: 4.031 kB / 0.5167 GB, free: 8.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004637/0.2958, allocations: 120 kB / 0.5168 GB, free: 8.191 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.0008121/0.2966, allocations: 0.7131 MB / 0.5175 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.611e-05/0.2967, allocations: 63.69 kB / 0.5176 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2967, allocations: 0 / 0.5176 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.2967, allocations: 59.53 kB / 0.5177 GB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.2968, allocations: 5.484 kB / 0.5177 GB, free: 7.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003362/0.2972, allocations: 134.2 kB / 0.5178 GB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.2973, allocations: 0.6702 MB / 0.5185 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.883e-06/0.2973, allocations: 1.406 kB / 0.5185 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.06e-05/0.2973, allocations: 7.438 kB / 0.5185 GB, free: 6.512 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2973, allocations: 0 / 0.5185 GB, free: 6.512 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.3217, allocations: 4.725 MB / 0.5231 GB, free: 2.031 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.524, allocations: 18.39 kB / 0.5231 GB, free: 2.016 MB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3_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_TestMatrices3.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.357311215993832] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.591442065007868 8.609920531 8.311917214 Calling exit ...