Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001429/0.001429, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001513/0.001513, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2261/0.2261, allocations: 44.94 MB / 358.8 MB, free: 6.062 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00224/0.00224, allocations: 63.91 kB / 0.493 GB, free: 10.57 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3746, allocations: 65.47 MB / 0.5569 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00169/0.3763, allocations: 497.6 kB / 0.5574 GB, free: 6.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007644/0.384, allocations: 4.58 MB / 0.5619 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.379e-05/0.384, allocations: 0 / 0.5619 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.417e-05/0.384, allocations: 4 kB / 0.5619 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.512e-06/0.384, allocations: 0 / 0.5619 GB, free: 2.484 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.008089/0.3921, allocations: 3.266 MB / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.07e-05/0.3921, allocations: 0 / 0.5651 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.3922, allocations: 4 kB / 0.5651 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.494e-05/0.3922, allocations: 0 / 0.5651 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.647e-05/0.3922, allocations: 0 / 0.5651 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.961e-06/0.3922, allocations: 0 / 0.5651 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03087/0.4231, allocations: 19.8 MB / 0.5844 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.4231, allocations: 4 kB / 0.5844 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.4231, allocations: 0 / 0.5844 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0397/0.4628, allocations: 26.12 MB / 0.6099 GB, free: 1.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4628, allocations: 0 / 0.6099 GB, free: 1.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4628, allocations: 4 kB / 0.6099 GB, free: 1.227 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.4629, allocations: 0 / 0.6099 GB, free: 1.227 MB / 446.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.01047/0.4733, allocations: 0.5982 MB / 0.6105 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.4734, allocations: 8.031 kB / 0.6105 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.646e-05/0.4734, allocations: 30.75 kB / 0.6106 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.4735, allocations: 0.9375 kB / 0.6106 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.4736, allocations: 121.1 kB / 0.6107 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4736, allocations: 0 / 0.6107 GB, free: 408 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.4736, allocations: 3.984 kB / 0.6107 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.4737, allocations: 59.41 kB / 0.6107 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4737, allocations: 3.938 kB / 0.6108 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.4737, allocations: 0 / 0.6108 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4737, allocations: 0 / 0.6108 GB, free: 328 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.667e-05/0.4738, allocations: 25.7 kB / 0.6108 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.4739, allocations: 128.6 kB / 0.6109 GB, free: 124 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.269e-05/0.474, allocations: 52.25 kB / 0.6109 GB, free: 56 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.474, allocations: 30.56 kB / 0.611 GB, free: 16 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.474, allocations: 4 kB / 0.611 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.702e-05/0.4741, allocations: 56.27 kB / 0.611 GB, free: 15.94 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.4741, allocations: 4.062 kB / 0.611 GB, free: 15.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002312/0.4744, allocations: 118.8 kB / 0.6112 GB, free: 15.8 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/0.4744, allocations: 77.11 kB / 0.6112 GB, free: 15.7 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.983e-05/0.4745, allocations: 93.8 kB / 0.6113 GB, free: 15.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4745, allocations: 25.7 kB / 0.6113 GB, free: 15.57 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.4746, allocations: 84.12 kB / 0.6114 GB, free: 15.48 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.4746, allocations: 0 / 0.6114 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.4746, allocations: 13.84 kB / 0.6114 GB, free: 15.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4747, allocations: 322.8 kB / 0.6117 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/0.4748, allocations: 29.7 kB / 0.6118 GB, free: 15.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.4748, allocations: 29.7 kB / 0.6118 GB, free: 15.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.4749, allocations: 60.27 kB / 0.6119 GB, free: 15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4749, allocations: 0 / 0.6119 GB, free: 15 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000105/0.475, allocations: 89.09 kB / 0.6119 GB, free: 14.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.532e-05/0.475, allocations: 29.7 kB / 0.612 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.475, allocations: 3.938 kB / 0.612 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.475, allocations: 4.094 kB / 0.612 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.192e-06/0.475, allocations: 7.938 kB / 0.612 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.475, allocations: 4 kB / 0.612 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.4751, allocations: 7.938 kB / 0.612 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4751, allocations: 0 / 0.612 GB, free: 14.83 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.0001055/0.4752, allocations: 135.5 kB / 0.6121 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.4752, allocations: 3.984 kB / 0.6121 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.25e-05/0.4752, allocations: 3 kB / 0.6121 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4752, allocations: 0 / 0.6121 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4752, allocations: 0 / 0.6121 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4752, allocations: 3.938 kB / 0.6121 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.4753, allocations: 120.8 kB / 0.6123 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4753, allocations: 0 / 0.6123 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.4753, allocations: 0 / 0.6123 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4753, allocations: 0 / 0.6123 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.4753, allocations: 0 / 0.6123 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4753, allocations: 3.984 kB / 0.6123 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.4753, allocations: 7.938 kB / 0.6123 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.4755, allocations: 116.5 kB / 0.6124 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.4755, allocations: 11.92 kB / 0.6124 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4755, allocations: 0 / 0.6124 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.072e-05/0.4755, allocations: 4.031 kB / 0.6124 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.21e-05/0.4755, allocations: 0 / 0.6124 GB, free: 14.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.4755, allocations: 7.938 kB / 0.6124 GB, free: 14.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.097e-05/0.4756, allocations: 75.28 kB / 0.6125 GB, free: 14.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4756, allocations: 0 / 0.6125 GB, free: 14.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01232/0.4879, allocations: 3.787 MB / 0.6162 GB, free: 10.46 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.02226/0.5102, allocations: 1.549 MB / 0.6177 GB, free: 8.898 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.5103, allocations: 114.8 kB / 0.6178 GB, free: 8.762 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5103, allocations: 4 kB / 0.6178 GB, free: 8.758 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.477e-05/0.5104, allocations: 81.09 kB / 0.6179 GB, free: 8.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.5105, allocations: 7.938 kB / 0.6179 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.5179, allocations: 374.6 kB / 0.6182 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.236e-05/0.518, allocations: 51.36 kB / 0.6183 GB, free: 8.168 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.632e-06/0.518, allocations: 4 kB / 0.6183 GB, free: 8.164 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.518, allocations: 7.438 kB / 0.6183 GB, free: 8.156 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.518, allocations: 0 / 0.6183 GB, free: 8.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2046/0.7226, allocations: 114.4 MB / 0.73 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.16/19.88, allocations: 11.05 kB / 0.73 GB, free: 5.684 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.258252857718617] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 20.03305651526898 20.283182607 19.817678165 Calling exit ...