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.001452/0.001452, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001499/0.001499, allocations: 217 kB / 23.75 MB, free: 4.668 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: 8.004 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.2238/0.2238, allocations: 44.91 MB / 358.8 MB, free: 6.254 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.001994/0.001994, allocations: 63.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3596, allocations: 65.47 MB / 0.557 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001709/0.3613, allocations: 496.8 kB / 0.5575 GB, free: 7.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.3648, allocations: 2.17 MB / 0.5596 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.3649, allocations: 0 / 0.5596 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.3649, allocations: 3.938 kB / 0.5596 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.825e-06/0.3649, allocations: 0 / 0.5596 GB, free: 5.055 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.002268/0.3672, allocations: 0.771 MB / 0.5604 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.279e-05/0.3672, allocations: 4 kB / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.3673, allocations: 0 / 0.5604 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.3673, allocations: 4 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.93e-05/0.3673, allocations: 0 / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-06/0.3673, allocations: 0 / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.3698, allocations: 1.708 MB / 0.562 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.3698, allocations: 0 / 0.562 GB, free: 2.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.3698, allocations: 7.938 kB / 0.562 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.3717, allocations: 1.569 MB / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3717, allocations: 0 / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3717, allocations: 0 / 0.5636 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.3717, allocations: 0 / 0.5636 GB, free: 0.9922 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.0007162/0.3724, allocations: 339.4 kB / 0.5639 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.988e-05/0.3725, allocations: 8.031 kB / 0.5639 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/0.3725, allocations: 34.69 kB / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.3726, allocations: 4.938 kB / 0.5639 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.3727, allocations: 106.5 kB / 0.564 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3727, allocations: 384 / 0.564 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.3727, allocations: 7.938 kB / 0.5641 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.3728, allocations: 33.69 kB / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3729, allocations: 0 / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3729, allocations: 0 / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3729, allocations: 0 / 0.5641 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.32e-05/0.3729, allocations: 7.938 kB / 0.5641 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.3731, allocations: 116.8 kB / 0.5642 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.074e-05/0.3731, allocations: 26.45 kB / 0.5642 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.3731, allocations: 8.953 kB / 0.5642 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.3732, allocations: 0 / 0.5642 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.036e-05/0.3732, allocations: 60.25 kB / 0.5643 GB, free: 112 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.3732, allocations: 0 / 0.5643 GB, free: 112 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002063/0.3734, allocations: 71.3 kB / 0.5644 GB, free: 28 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.876e-05/0.3735, allocations: 77.23 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.3736, allocations: 93.86 kB / 0.5645 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.3736, allocations: 25.7 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.3736, allocations: 80.14 kB / 0.5646 GB, free: 15.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3737, allocations: 4 kB / 0.5646 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.3737, allocations: 13.7 kB / 0.5646 GB, free: 15.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3738, allocations: 314.8 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.3738, allocations: 4 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.3738, allocations: 0 / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.559e-05/0.3739, allocations: 68.27 kB / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3739, allocations: 0 / 0.565 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.798e-05/0.374, allocations: 67.27 kB / 0.5651 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.374, allocations: 33.7 kB / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.374, allocations: 0 / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.374, allocations: 0 / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.374, allocations: 0 / 0.5651 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3741, allocations: 3.984 kB / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.3741, allocations: 0 / 0.5651 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3741, allocations: 8.031 kB / 0.5651 GB, free: 15.16 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.0001026/0.3742, allocations: 135.5 kB / 0.5653 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.3742, allocations: 7.922 kB / 0.5653 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.546e-05/0.3742, allocations: 7 kB / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-07/0.3742, allocations: 0 / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3742, allocations: 0 / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3742, allocations: 0 / 0.5653 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.531e-05/0.3743, allocations: 116.7 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3743, allocations: 0 / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-06/0.3743, allocations: 8 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.3743, allocations: 3.938 kB / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3743, allocations: 3.984 kB / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3743, allocations: 0 / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.3743, allocations: 0 / 0.5654 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.3744, allocations: 98.7 kB / 0.5655 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-06/0.3744, allocations: 3.984 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.3745, allocations: 4 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-06/0.3745, allocations: 4.031 kB / 0.5655 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.3745, allocations: 8 kB / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.3745, allocations: 0 / 0.5655 GB, free: 14.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.422e-05/0.3745, allocations: 75.28 kB / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3745, allocations: 0 / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008014/0.3753, allocations: 275.5 kB / 0.5658 GB, free: 14.34 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.001693/0.377, allocations: 0.9366 MB / 0.5668 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.3771, allocations: 67.33 kB / 0.5668 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3771, allocations: 0 / 0.5668 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.3772, allocations: 55.41 kB / 0.5669 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3773, allocations: 0 / 0.5669 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.3778, allocations: 166.2 kB / 0.567 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.3781, allocations: 0.6769 MB / 0.5677 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.29e-06/0.3781, allocations: 0 / 0.5677 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.3782, allocations: 7.438 kB / 0.5677 GB, free: 12.33 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3782, allocations: 0 / 0.5677 GB, free: 12.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03734/0.4155, allocations: 8.351 MB / 0.5759 GB, free: 4.098 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.52, allocations: 6.984 kB / 0.5759 GB, free: 4.094 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.512522862998594] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.632008223998128 11.650319245 11.275425399 Calling exit ...