Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00147/0.00147, 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.001486/0.001486, allocations: 210.7 kB / 23.72 MB, free: 4.391 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2264/0.2264, allocations: 46.96 MB / 360.9 MB, free: 4.059 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.89 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3075, allocations: 66.03 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.00169/0.3092, allocations: 497 kB / 0.561 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003353/0.3126, allocations: 2.063 MB / 0.5631 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.3126, allocations: 0 / 0.5631 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.3126, allocations: 0 / 0.5631 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.159e-06/0.3126, allocations: 0 / 0.5631 GB, free: 1.676 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002238/0.3149, allocations: 0.7744 MB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.736e-05/0.3149, allocations: 3.938 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.896e-05/0.3149, allocations: 0 / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.315, allocations: 7.984 kB / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.524e-05/0.315, allocations: 0 / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.171e-06/0.315, allocations: 0 / 0.5638 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.3174, allocations: 1.548 MB / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.3174, allocations: 0 / 0.5653 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.3174, allocations: 7.938 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.3194, allocations: 1.542 MB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3194, allocations: 3.938 kB / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3194, allocations: 0 / 0.5669 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3194, allocations: 0 / 0.5669 GB, free: 13.79 MB / 414.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.0006614/0.32, allocations: 343.4 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3201, allocations: 8.031 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.196e-05/0.3201, allocations: 34.69 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.3202, allocations: 4.938 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.3203, allocations: 114.5 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3203, allocations: 384 / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3203, allocations: 3.938 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.3204, allocations: 55.41 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3204, allocations: 0 / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3204, allocations: 3.984 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3204, allocations: 0 / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.547e-05/0.3205, allocations: 25.7 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.3206, allocations: 124.8 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.166e-05/0.3207, allocations: 56.19 kB / 0.5676 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.3208, allocations: 30.56 kB / 0.5676 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.3208, allocations: 0 / 0.5676 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.185e-05/0.3208, allocations: 60.33 kB / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.3208, allocations: 0 / 0.5677 GB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002541/0.3211, allocations: 130.6 kB / 0.5678 GB, free: 12.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.3211, allocations: 77.11 kB / 0.5679 GB, free: 12.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.3212, allocations: 89.86 kB / 0.568 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3212, allocations: 25.7 kB / 0.568 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.3213, allocations: 84.08 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.3213, allocations: 4.125 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.3213, allocations: 17.72 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3215, allocations: 314.8 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.3215, allocations: 25.7 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.3215, allocations: 29.7 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.3216, allocations: 60.27 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3216, allocations: 0 / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001062/0.3217, allocations: 101 kB / 0.5686 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.3217, allocations: 29.7 kB / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3217, allocations: 96 / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3218, allocations: 4 kB / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.3218, allocations: 0 / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3218, allocations: 0 / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.091e-05/0.3218, allocations: 8 kB / 0.5686 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.3218, allocations: 0 / 0.5686 GB, free: 11.67 MB / 414.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.0001067/0.3219, allocations: 135.5 kB / 0.5688 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.3219, allocations: 7.938 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.087e-05/0.3219, allocations: 3 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.3219, allocations: 0 / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3219, allocations: 0 / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3219, allocations: 4 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.322, allocations: 124.7 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.322, allocations: 0 / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.322, allocations: 0 / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.322, allocations: 0 / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3221, allocations: 3.984 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3221, allocations: 0 / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3221, allocations: 0 / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.3222, allocations: 120.4 kB / 0.569 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.3222, allocations: 7.984 kB / 0.569 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.3222, allocations: 4.031 kB / 0.569 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-06/0.3222, allocations: 3.938 kB / 0.569 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.3222, allocations: 0 / 0.569 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.3222, allocations: 0 / 0.569 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.3223, allocations: 79.28 kB / 0.5691 GB, free: 11.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3223, allocations: 0 / 0.5691 GB, free: 11.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009003/0.3232, allocations: 279.5 kB / 0.5694 GB, free: 10.82 MB / 414.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.001745/0.3249, allocations: 0.965 MB / 0.5703 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.3251, allocations: 114.7 kB / 0.5704 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3251, allocations: 4.062 kB / 0.5704 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.25e-05/0.3251, allocations: 85.11 kB / 0.5705 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.3253, allocations: 4 kB / 0.5705 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.3258, allocations: 191.9 kB / 0.5707 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.831e-05/0.3258, allocations: 59.34 kB / 0.5708 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.528e-06/0.3258, allocations: 0 / 0.5708 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.487e-05/0.3258, allocations: 7.438 kB / 0.5708 GB, free: 9.266 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3258, allocations: 0 / 0.5708 GB, free: 9.266 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03881/0.3646, allocations: 8.749 MB / 0.5793 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.03, allocations: 10.73 kB / 0.5793 GB, free: 0.6289 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.9488220307976] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 12.140493045095354 12.159830219 11.836846738 Calling exit ...