Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.001306/0.001306, allocations: 113 kB / 17.13 MB, free: 5.941 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.001398/0.001398, allocations: 211.2 kB / 20.09 MB, free: 2.984 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.476/1.476, allocations: 207.6 MB / 230.5 MB, free: 4.008 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.3712/0.3712, allocations: 44.24 MB / 326.6 MB, free: 7.207 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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",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: 63.91 kB / 462.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2956, allocations: 61 MB / 0.5109 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001494/0.2971, allocations: 0.504 MB / 0.5114 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.2994, allocations: 2.14 MB / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.2994, allocations: 0 / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.2994, allocations: 0 / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.2994, allocations: 1.531 kB / 0.5135 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.3011, allocations: 0.7252 MB / 0.5142 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.091e-05/0.3011, allocations: 2.312 kB / 0.5142 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.548e-05/0.3011, allocations: 5.156 kB / 0.5142 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.342e-05/0.3012, allocations: 0 / 0.5142 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.822e-05/0.3012, allocations: 1.312 kB / 0.5142 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.28e-06/0.3012, allocations: 0 / 0.5142 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.3029, allocations: 1.581 MB / 0.5158 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.556e-06/0.3029, allocations: 3.984 kB / 0.5158 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.3029, allocations: 7.938 kB / 0.5158 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3039, allocations: 1.543 MB / 0.5173 GB, free: 8.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3039, allocations: 0 / 0.5173 GB, free: 8.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3039, allocations: 3.984 kB / 0.5173 GB, free: 8.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.3039, allocations: 0 / 0.5173 GB, free: 8.48 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.0004853/0.3044, allocations: 420.5 kB / 0.5177 GB, free: 8.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3044, allocations: 11.89 kB / 0.5177 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.908e-05/0.3045, allocations: 30.75 kB / 0.5177 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.324e-05/0.3045, allocations: 0.9375 kB / 0.5177 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.31e-05/0.3045, allocations: 164.4 kB / 0.5179 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3046, allocations: 4.375 kB / 0.5179 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3046, allocations: 7.938 kB / 0.5179 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.536e-05/0.3046, allocations: 33.69 kB / 0.5179 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.3046, allocations: 3.984 kB / 0.5179 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.3047, allocations: 0 / 0.5179 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3047, allocations: 0 / 0.5179 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.3047, allocations: 3.938 kB / 0.5179 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.026e-05/0.3048, allocations: 141.7 kB / 0.5181 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.3048, allocations: 26.55 kB / 0.5181 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.118e-05/0.3048, allocations: 4.859 kB / 0.5181 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.016e-06/0.3048, allocations: 4 kB / 0.5181 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.3048, allocations: 64.31 kB / 0.5182 GB, free: 7.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.3048, allocations: 0 / 0.5182 GB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001421/0.305, allocations: 59.34 kB / 0.5182 GB, free: 7.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.305, allocations: 81.11 kB / 0.5183 GB, free: 7.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.634e-05/0.305, allocations: 93.98 kB / 0.5184 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.305, allocations: 25.7 kB / 0.5184 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-06/0.305, allocations: 88.06 kB / 0.5185 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.3051, allocations: 7.938 kB / 0.5185 GB, free: 6.996 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.3051, allocations: 17.7 kB / 0.5185 GB, free: 6.973 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.896e-05/0.3051, allocations: 310.8 kB / 0.5188 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.366e-06/0.3051, allocations: 0 / 0.5188 GB, free: 6.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-06/0.3051, allocations: 0 / 0.5188 GB, free: 6.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.3052, allocations: 64.33 kB / 0.5189 GB, free: 6.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3052, allocations: 0 / 0.5189 GB, free: 6.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.842e-05/0.3052, allocations: 75.27 kB / 0.519 GB, free: 6.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3052, allocations: 33.64 kB / 0.519 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3052, allocations: 4 kB / 0.519 GB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3052, allocations: 4 kB / 0.519 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.232e-06/0.3052, allocations: 0 / 0.519 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3053, allocations: 3.984 kB / 0.519 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.3053, allocations: 0 / 0.519 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.3053, allocations: 4.031 kB / 0.519 GB, free: 6.441 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.816e-05/0.3053, allocations: 135.5 kB / 0.5191 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.3053, allocations: 3.938 kB / 0.5191 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-06/0.3053, allocations: 7.109 kB / 0.5191 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.32e-07/0.3053, allocations: 0 / 0.5191 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3053, allocations: 0 / 0.5191 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3053, allocations: 0 / 0.5191 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.674e-05/0.3054, allocations: 153.6 kB / 0.5193 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.3054, allocations: 0 / 0.5193 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3054, allocations: 0 / 0.5193 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.3054, allocations: 4 kB / 0.5193 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.3054, allocations: 3.984 kB / 0.5193 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.3054, allocations: 0 / 0.5193 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3054, allocations: 0 / 0.5193 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.963e-05/0.3055, allocations: 94.72 kB / 0.5194 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.3055, allocations: 81.09 kB / 0.5195 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.3055, allocations: 4 kB / 0.5195 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.045e-06/0.3055, allocations: 4.031 kB / 0.5195 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.3055, allocations: 0 / 0.5195 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.3055, allocations: 0 / 0.5195 GB, free: 5.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.678e-06/0.3055, allocations: 75.28 kB / 0.5195 GB, free: 5.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-08/0.3055, allocations: 0 / 0.5195 GB, free: 5.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006839/0.3062, allocations: 271.6 kB / 0.5198 GB, free: 5.508 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.001392/0.3076, allocations: 0.9639 MB / 0.5207 GB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.3077, allocations: 59.39 kB / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3077, allocations: 0 / 0.5208 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.3077, allocations: 55.41 kB / 0.5209 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001176/0.3078, allocations: 0 / 0.5209 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.3082, allocations: 170.2 kB / 0.521 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.365e-05/0.3083, allocations: 0.669 MB / 0.5217 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.561e-06/0.3083, allocations: 0 / 0.5217 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.051e-05/0.3083, allocations: 15.56 kB / 0.5217 GB, free: 3.461 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3083, allocations: 0 / 0.5217 GB, free: 3.461 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.341, allocations: 8.21 MB / 0.5297 GB, free: 11.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.216/8.557, allocations: 8.703 kB / 0.5297 GB, free: 11.22 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_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_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.398469626001315] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 8.628464668989182 8.645461883 8.3384957 Calling exit ...