Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.001754/0.001754, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002159/0.002159, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2232/0.2232, allocations: 44.91 MB / 358.8 MB, free: 6.371 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.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",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.002018/0.002018, allocations: 63.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3537, allocations: 65.47 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.00162/0.3553, allocations: 0.4917 MB / 0.5575 GB, free: 7.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.3575, allocations: 1.623 MB / 0.5591 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.3576, allocations: 0 / 0.5591 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.3576, allocations: 4 kB / 0.5591 GB, free: 5.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.3576, allocations: 0 / 0.5591 GB, free: 5.633 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:171:3-212:15:writable] Warning: Pure function 'ModelicaTest.Math.Matrices' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009181/0.3585, allocations: 287.2 kB / 0.5594 GB, free: 5.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.523e-05/0.3585, allocations: 8 kB / 0.5594 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.3586, allocations: 8 kB / 0.5594 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.313e-05/0.3586, allocations: 0 / 0.5594 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.499e-05/0.3586, allocations: 0 / 0.5594 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-06/0.3586, allocations: 0 / 0.5594 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.3595, allocations: 0.6081 MB / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.583e-06/0.3595, allocations: 0 / 0.56 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.3595, allocations: 4 kB / 0.56 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.3599, allocations: 333 kB / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3599, allocations: 0 / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3599, allocations: 0 / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.36, allocations: 3.938 kB / 0.5603 GB, free: 4.395 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.0003511/0.3603, allocations: 303.7 kB / 0.5606 GB, free: 4.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3603, allocations: 12.03 kB / 0.5606 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.3604, allocations: 30.75 kB / 0.5606 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.135e-05/0.3604, allocations: 0.9375 kB / 0.5606 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.3605, allocations: 110.5 kB / 0.5607 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3605, allocations: 4.375 kB / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.3605, allocations: 384 / 0.5607 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.275e-05/0.3606, allocations: 33.83 kB / 0.5608 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3606, allocations: 0 / 0.5608 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.3606, allocations: 0 / 0.5608 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3606, allocations: 0 / 0.5608 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.632e-05/0.3606, allocations: 7.984 kB / 0.5608 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.3607, allocations: 128.7 kB / 0.5609 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.3608, allocations: 14.58 kB / 0.5609 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.272e-05/0.3608, allocations: 4.859 kB / 0.5609 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.3608, allocations: 0 / 0.5609 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.3609, allocations: 64.3 kB / 0.561 GB, free: 3.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 2.775e-06/0.3609, allocations: 7.938 kB / 0.561 GB, free: 3.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001644/0.361, allocations: 71.33 kB / 0.561 GB, free: 3.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.3611, allocations: 77.11 kB / 0.5611 GB, free: 3.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.3611, allocations: 93.81 kB / 0.5612 GB, free: 3.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.3611, allocations: 25.7 kB / 0.5612 GB, free: 3.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.142e-05/0.3612, allocations: 80.14 kB / 0.5613 GB, free: 3.152 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.3612, allocations: 0 / 0.5613 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.3612, allocations: 13.72 kB / 0.5613 GB, free: 3.133 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3613, allocations: 315 kB / 0.5616 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.3614, allocations: 4 kB / 0.5616 GB, free: 2.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-06/0.3614, allocations: 4 kB / 0.5616 GB, free: 2.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.3614, allocations: 60.25 kB / 0.5617 GB, free: 2.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3614, allocations: 4 kB / 0.5617 GB, free: 2.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.8e-05/0.3615, allocations: 59.34 kB / 0.5617 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.3615, allocations: 37.64 kB / 0.5618 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3615, allocations: 0 / 0.5618 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3615, allocations: 96 / 0.5618 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3615, allocations: 4 kB / 0.5618 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3615, allocations: 0 / 0.5618 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.409e-05/0.3616, allocations: 0 / 0.5618 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3616, allocations: 3.984 kB / 0.5618 GB, free: 2.609 MB / 398.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.039e-05/0.3617, allocations: 143.5 kB / 0.5619 GB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-06/0.3617, allocations: 3.938 kB / 0.5619 GB, free: 2.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.748e-06/0.3617, allocations: 3 kB / 0.5619 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.3617, allocations: 0 / 0.5619 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3617, allocations: 7.938 kB / 0.5619 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.3617, allocations: 4 kB / 0.5619 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.44e-05/0.3618, allocations: 120.7 kB / 0.5621 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3618, allocations: 0 / 0.5621 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.3618, allocations: 0 / 0.5621 GB, free: 2.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3618, allocations: 7.938 kB / 0.5621 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.3618, allocations: 0 / 0.5621 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.3618, allocations: 0 / 0.5621 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3618, allocations: 0 / 0.5621 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.926e-05/0.3619, allocations: 98.77 kB / 0.5622 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.772e-06/0.3619, allocations: 3.938 kB / 0.5622 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.3619, allocations: 7.938 kB / 0.5622 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-06/0.3619, allocations: 0 / 0.5622 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.3619, allocations: 4 kB / 0.5622 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.3619, allocations: 0 / 0.5622 GB, free: 2.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.363e-05/0.362, allocations: 79.28 kB / 0.5623 GB, free: 2.051 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.362, allocations: 0 / 0.5623 GB, free: 2.051 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.3623, allocations: 63.8 kB / 0.5623 GB, free: 1.988 MB / 398.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.0007164/0.363, allocations: 0.7095 MB / 0.563 GB, free: 1.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.3631, allocations: 67.34 kB / 0.5631 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3631, allocations: 0 / 0.5631 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.814e-05/0.3631, allocations: 59.39 kB / 0.5631 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.3632, allocations: 7.938 kB / 0.5631 GB, free: 1.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.3635, allocations: 130.6 kB / 0.5633 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3638, allocations: 0.669 MB / 0.5639 GB, free: 236 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.03e-06/0.3638, allocations: 3.938 kB / 0.5639 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.3638, allocations: 11.42 kB / 0.5639 GB, free: 220 kB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3638, allocations: 0 / 0.5639 GB, free: 220 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.39, allocations: 2.234 MB / 0.5661 GB, free: 14.11 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.24, allocations: 0 / 0.5661 GB, free: 14.11 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_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_TestMatrices.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.230882667994592] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.347902264998993 11.375978229 11.010837674 Calling exit ...