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.002008/0.002008, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00265/0.00265, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.454/1.454, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2493/0.2493, allocations: 46.97 MB / 360.9 MB, free: 4.035 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.002194/0.002194, allocations: 71.84 kB / 0.4961 GB, free: 7.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3289, allocations: 66.03 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001922/0.3308, allocations: 0.4931 MB / 0.5611 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008299/0.3391, allocations: 4.567 MB / 0.5655 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.3392, allocations: 3.938 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.3392, allocations: 3.938 kB / 0.5655 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.37e-06/0.3392, allocations: 0 / 0.5655 GB, free: 15.17 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.008374/0.3476, allocations: 3.27 MB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.225e-05/0.3476, allocations: 4 kB / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.3476, allocations: 0 / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.96e-05/0.3477, allocations: 4 kB / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.832e-05/0.3477, allocations: 0 / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.3477, allocations: 0 / 0.5687 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03185/0.3795, allocations: 19.81 MB / 0.5881 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.3796, allocations: 0 / 0.5881 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.3796, allocations: 0 / 0.5881 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03836/0.4179, allocations: 26.13 MB / 0.6136 GB, free: 13.89 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4179, allocations: 0 / 0.6136 GB, free: 13.89 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-05/0.418, allocations: 4 kB / 0.6136 GB, free: 13.89 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.418, allocations: 0 / 0.6136 GB, free: 13.89 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.0081/0.4261, allocations: 0.5943 MB / 0.6142 GB, free: 13.26 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4261, allocations: 12.03 kB / 0.6142 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.4262, allocations: 34.75 kB / 0.6142 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.4262, allocations: 4.922 kB / 0.6142 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.974e-05/0.4263, allocations: 105.2 kB / 0.6143 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4263, allocations: 4 kB / 0.6143 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.4263, allocations: 0 / 0.6143 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.4265, allocations: 63.34 kB / 0.6144 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.4265, allocations: 0 / 0.6144 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.4265, allocations: 4 kB / 0.6144 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4265, allocations: 0 / 0.6144 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.852e-05/0.4265, allocations: 25.7 kB / 0.6144 GB, free: 12.96 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.4267, allocations: 128.6 kB / 0.6145 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/0.4268, allocations: 48.22 kB / 0.6146 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.4268, allocations: 34.66 kB / 0.6146 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.4268, allocations: 0 / 0.6146 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.122e-05/0.4269, allocations: 60.2 kB / 0.6147 GB, free: 12.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.4269, allocations: 0 / 0.6147 GB, free: 12.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002462/0.4271, allocations: 118.9 kB / 0.6148 GB, free: 12.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.4272, allocations: 85.11 kB / 0.6149 GB, free: 12.37 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.4273, allocations: 89.86 kB / 0.6149 GB, free: 12.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.4273, allocations: 25.7 kB / 0.615 GB, free: 12.24 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/0.4273, allocations: 80.14 kB / 0.615 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.4273, allocations: 0 / 0.615 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.4274, allocations: 17.7 kB / 0.6151 GB, free: 12.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4276, allocations: 314.8 kB / 0.6154 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.4276, allocations: 25.7 kB / 0.6154 GB, free: 11.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.518e-05/0.4276, allocations: 33.7 kB / 0.6154 GB, free: 11.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.4277, allocations: 68.27 kB / 0.6155 GB, free: 11.67 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4277, allocations: 0 / 0.6155 GB, free: 11.67 MB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001045/0.4278, allocations: 89.09 kB / 0.6156 GB, free: 11.56 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.4278, allocations: 29.7 kB / 0.6156 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4279, allocations: 0 / 0.6156 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4279, allocations: 0 / 0.6156 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.4279, allocations: 0 / 0.6156 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4279, allocations: 3.938 kB / 0.6156 GB, free: 11.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.4279, allocations: 11.94 kB / 0.6156 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.4279, allocations: 0 / 0.6156 GB, free: 11.51 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.0001164/0.428, allocations: 143.5 kB / 0.6158 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.428, allocations: 4 kB / 0.6158 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.099e-05/0.428, allocations: 3 kB / 0.6158 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.428, allocations: 3.984 kB / 0.6158 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.428, allocations: 0 / 0.6158 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4281, allocations: 3.938 kB / 0.6158 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.4282, allocations: 116.8 kB / 0.6159 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4282, allocations: 0 / 0.6159 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-06/0.4282, allocations: 3.938 kB / 0.6159 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4282, allocations: 0 / 0.6159 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4282, allocations: 3.984 kB / 0.6159 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4282, allocations: 11.94 kB / 0.6159 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4282, allocations: 0 / 0.6159 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.4283, allocations: 120.5 kB / 0.616 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.4283, allocations: 8 kB / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.4283, allocations: 0 / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.4284, allocations: 0 / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.4284, allocations: 0 / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.4284, allocations: 7.938 kB / 0.616 GB, free: 11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.238e-05/0.4284, allocations: 75.28 kB / 0.6161 GB, free: 10.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4284, allocations: 0 / 0.6161 GB, free: 10.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01029/0.4387, allocations: 3.787 MB / 0.6198 GB, free: 7.137 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.02016/0.4589, allocations: 1.535 MB / 0.6213 GB, free: 5.586 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.459, allocations: 114.8 kB / 0.6214 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4591, allocations: 0 / 0.6214 GB, free: 5.449 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.784e-05/0.4591, allocations: 85.05 kB / 0.6215 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.4593, allocations: 7.938 kB / 0.6215 GB, free: 5.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.466, allocations: 382.7 kB / 0.6219 GB, free: 4.918 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.314e-05/0.466, allocations: 51.36 kB / 0.6219 GB, free: 4.848 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.312e-06/0.466, allocations: 0 / 0.6219 GB, free: 4.848 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.4661, allocations: 11.44 kB / 0.6219 GB, free: 4.836 MB / 462.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4661, allocations: 0 / 0.6219 GB, free: 4.836 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1975/0.6636, allocations: 114.4 MB / 0.7336 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.97/19.64, allocations: 7.312 kB / 0.7336 GB, free: 2.383 MB / 0.5606 GB " [Timeout remaining time 640] (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: 22.88894920470193] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 19.78614486195147 20.035058565 19.614381486 Calling exit ...