Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.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.001518/0.001518, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001394/0.001394, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.393/1.393, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2188/0.2188, allocations: 46.97 MB / 360.9 MB, free: 4.004 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.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3596, allocations: 66.04 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001685/0.3612, allocations: 492 kB / 0.561 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3634, allocations: 1.517 MB / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.3635, allocations: 0 / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.3635, allocations: 0 / 0.5625 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.299e-06/0.3635, allocations: 0 / 0.5625 GB, free: 2.191 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.3644, allocations: 267.1 kB / 0.5628 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.74e-05/0.3644, allocations: 4 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.3645, allocations: 0 / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.369e-05/0.3645, allocations: 3.938 kB / 0.5628 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.571e-05/0.3645, allocations: 0 / 0.5628 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.009e-06/0.3645, allocations: 0 / 0.5628 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009921/0.3655, allocations: 0.6946 MB / 0.5635 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-06/0.3655, allocations: 0 / 0.5635 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.3655, allocations: 11.97 kB / 0.5635 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006774/0.3662, allocations: 0.614 MB / 0.5641 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3662, allocations: 4 kB / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3662, allocations: 0 / 0.5641 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.3662, allocations: 0 / 0.5641 GB, free: 0.6016 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.0003924/0.3666, allocations: 287.9 kB / 0.5644 GB, free: 292 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.3666, allocations: 8.031 kB / 0.5644 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.3667, allocations: 38.69 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.954e-05/0.3667, allocations: 0.9375 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.3668, allocations: 106.5 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3668, allocations: 384 / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.3668, allocations: 4.375 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.3669, allocations: 71.45 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.3669, allocations: 0 / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.611e-06/0.3669, allocations: 0 / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3669, allocations: 0 / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.477e-05/0.367, allocations: 29.7 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.3671, allocations: 112.8 kB / 0.5647 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.205e-05/0.3672, allocations: 48.31 kB / 0.5648 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.3672, allocations: 34.55 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.3672, allocations: 3.938 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.3672, allocations: 68.27 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.3672, allocations: 0 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001806/0.3674, allocations: 114.8 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3675, allocations: 81.09 kB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.3675, allocations: 93.81 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3675, allocations: 25.7 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.3676, allocations: 80.14 kB / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.302e-05/0.3676, allocations: 0 / 0.5652 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.3676, allocations: 13.72 kB / 0.5653 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3678, allocations: 310.8 kB / 0.5655 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.3678, allocations: 37.83 kB / 0.5656 GB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.871e-05/0.3678, allocations: 29.64 kB / 0.5656 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.592e-05/0.3679, allocations: 64.25 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3679, allocations: 0 / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.131e-05/0.368, allocations: 85.11 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.368, allocations: 37.64 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.368, allocations: 0 / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.368, allocations: 0 / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-06/0.368, allocations: 7.969 kB / 0.5658 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.368, allocations: 12.03 kB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.368, allocations: 0 / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.368, allocations: 0 / 0.5658 GB, free: 14.54 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.0001202/0.3682, allocations: 139.5 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-06/0.3682, allocations: 3.938 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.077e-06/0.3682, allocations: 3 kB / 0.5659 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.3682, allocations: 3.938 kB / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.3682, allocations: 0 / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.3682, allocations: 0 / 0.566 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/0.3683, allocations: 120.8 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.3683, allocations: 0 / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.3683, allocations: 4 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3683, allocations: 3.938 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3683, allocations: 0 / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.3683, allocations: 4 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3683, allocations: 0 / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.3684, allocations: 120.5 kB / 0.5662 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.3685, allocations: 7.938 kB / 0.5662 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.3685, allocations: 0 / 0.5662 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-06/0.3685, allocations: 0 / 0.5662 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.3685, allocations: 0 / 0.5662 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3685, allocations: 8.031 kB / 0.5662 GB, free: 14.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.282e-05/0.3685, allocations: 76.3 kB / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3685, allocations: 0 / 0.5663 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.3689, allocations: 119.9 kB / 0.5664 GB, free: 13.84 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.0009568/0.3699, allocations: 0.7341 MB / 0.5671 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.37, allocations: 114.8 kB / 0.5672 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.37, allocations: 0 / 0.5672 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.37, allocations: 92.98 kB / 0.5673 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.3701, allocations: 0 / 0.5673 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.3705, allocations: 152.2 kB / 0.5675 GB, free: 12.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.7e-05/0.3705, allocations: 59.34 kB / 0.5675 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.959e-06/0.3706, allocations: 4.125 kB / 0.5675 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.3706, allocations: 7.438 kB / 0.5675 GB, free: 12.54 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3706, allocations: 0 / 0.5675 GB, free: 12.54 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.4003, allocations: 5.281 MB / 0.5727 GB, free: 7.383 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.29, allocations: 9.453 kB / 0.5727 GB, free: 7.379 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3_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_TestMatrices3.fmu > ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.084916529012844] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.395220220001647 11.423950168 11.052517684 Calling exit ...