Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001617/0.001617, 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.001924/0.001924, allocations: 212.1 kB / 23.73 MB, free: 4.16 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.828 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.2282/0.2282, allocations: 44.92 MB / 358.8 MB, free: 6.07 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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",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.002322/0.002322, allocations: 71.91 kB / 0.493 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3652, allocations: 65.47 MB / 0.557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001764/0.367, allocations: 0.4937 MB / 0.5574 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.3703, allocations: 2.064 MB / 0.5594 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.3704, allocations: 0 / 0.5594 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.637e-05/0.3704, allocations: 0 / 0.5594 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.3704, allocations: 4 kB / 0.5595 GB, free: 4.984 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.002071/0.3725, allocations: 0.7592 MB / 0.5602 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.038e-05/0.3725, allocations: 4 kB / 0.5602 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.502e-05/0.3726, allocations: 3.984 kB / 0.5602 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.79e-05/0.3726, allocations: 4 kB / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.978e-05/0.3726, allocations: 0 / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.002e-06/0.3726, allocations: 0 / 0.5602 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.3748, allocations: 1.545 MB / 0.5617 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.3748, allocations: 0 / 0.5617 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.982e-05/0.3748, allocations: 4 kB / 0.5617 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.3765, allocations: 1.557 MB / 0.5632 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3765, allocations: 4 kB / 0.5632 GB, free: 1.105 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3765, allocations: 0 / 0.5632 GB, free: 1.105 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3765, allocations: 0 / 0.5632 GB, free: 1.105 MB / 398.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.0005712/0.3771, allocations: 339.4 kB / 0.5636 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3771, allocations: 8.031 kB / 0.5636 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.3771, allocations: 34.75 kB / 0.5636 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.3772, allocations: 0.9375 kB / 0.5636 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3773, allocations: 102.5 kB / 0.5637 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3773, allocations: 384 / 0.5637 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.3773, allocations: 3.938 kB / 0.5637 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.3774, allocations: 71.27 kB / 0.5638 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3774, allocations: 0 / 0.5638 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.3774, allocations: 0 / 0.5638 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3774, allocations: 0 / 0.5638 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.3774, allocations: 29.7 kB / 0.5638 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.3776, allocations: 120.8 kB / 0.5639 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.512e-05/0.3776, allocations: 52.23 kB / 0.564 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.69e-05/0.3777, allocations: 30.56 kB / 0.564 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.3777, allocations: 4.062 kB / 0.564 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.3777, allocations: 64.14 kB / 0.5641 GB, free: 96 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.3777, allocations: 0 / 0.5641 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002104/0.3779, allocations: 126.8 kB / 0.5642 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.378, allocations: 77.11 kB / 0.5643 GB, free: 15.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.465e-05/0.378, allocations: 89.86 kB / 0.5643 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.3781, allocations: 25.7 kB / 0.5644 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.3781, allocations: 84.14 kB / 0.5644 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.3781, allocations: 0 / 0.5644 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.3781, allocations: 13.72 kB / 0.5645 GB, free: 15.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3783, allocations: 314.8 kB / 0.5648 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.3783, allocations: 25.7 kB / 0.5648 GB, free: 15.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.3783, allocations: 29.81 kB / 0.5648 GB, free: 15.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.44e-05/0.3784, allocations: 68.27 kB / 0.5649 GB, free: 15.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3784, allocations: 0 / 0.5649 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.697e-05/0.3785, allocations: 93.05 kB / 0.565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.3785, allocations: 35.88 kB / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3785, allocations: 0 / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3785, allocations: 4 kB / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3785, allocations: 0 / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3785, allocations: 0 / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.3785, allocations: 0 / 0.565 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3785, allocations: 4.031 kB / 0.565 GB, free: 15 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 9.675e-05/0.3786, allocations: 135.5 kB / 0.5651 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.3787, allocations: 3.938 kB / 0.5651 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.3787, allocations: 3 kB / 0.5651 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.3787, allocations: 0 / 0.5651 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3787, allocations: 0 / 0.5651 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.3787, allocations: 11.92 kB / 0.5652 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.3788, allocations: 124.7 kB / 0.5653 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3788, allocations: 0 / 0.5653 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.3788, allocations: 3.938 kB / 0.5653 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3788, allocations: 4 kB / 0.5653 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3788, allocations: 4 kB / 0.5653 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3788, allocations: 0 / 0.5653 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3788, allocations: 0 / 0.5653 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.3789, allocations: 124.5 kB / 0.5654 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-06/0.3789, allocations: 0 / 0.5654 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.3789, allocations: 0 / 0.5654 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.087e-05/0.3789, allocations: 4 kB / 0.5654 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.379, allocations: 3.984 kB / 0.5654 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.379, allocations: 0 / 0.5654 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.682e-05/0.379, allocations: 75.28 kB / 0.5655 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.379, allocations: 7.969 kB / 0.5655 GB, free: 14.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007428/0.3797, allocations: 275.5 kB / 0.5658 GB, free: 14.14 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.001633/0.3814, allocations: 0.9676 MB / 0.5667 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.3815, allocations: 114.8 kB / 0.5668 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3815, allocations: 0 / 0.5668 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.392e-05/0.3816, allocations: 89.05 kB / 0.5669 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.3817, allocations: 0 / 0.5669 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.3822, allocations: 192 kB / 0.5671 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.036e-05/0.3822, allocations: 55.36 kB / 0.5671 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.34e-06/0.3822, allocations: 0 / 0.5671 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.838e-05/0.3822, allocations: 11.44 kB / 0.5671 GB, free: 12.59 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3822, allocations: 0 / 0.5671 GB, free: 12.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.4196, allocations: 8.762 MB / 0.5757 GB, free: 3.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.73, allocations: 3.938 kB / 0.5757 GB, free: 3.941 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.844939243979752] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.83811449771747 11.855429555 11.4756621 Calling exit ...