Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.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.001861/0.001861, allocations: 114.4 kB / 17.12 MB, free: 5.891 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.002214/0.002214, allocations: 211.2 kB / 20.09 MB, free: 2.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 207.6 MB / 230.5 MB, free: 4.012 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3881/0.3881, allocations: 44.22 MB / 326.6 MB, free: 6.836 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002147/0.002147, allocations: 75.88 kB / 462.2 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2861, allocations: 61 MB / 0.5109 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001627/0.2877, allocations: 0.5037 MB / 0.5114 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007176/0.2949, allocations: 5.09 MB / 0.5164 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.2949, allocations: 1.375 kB / 0.5164 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.2949, allocations: 0 / 0.5164 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.295, allocations: 0 / 0.5164 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006463/0.3014, allocations: 3.007 MB / 0.5193 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.355e-05/0.3015, allocations: 4 kB / 0.5193 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.3015, allocations: 4 kB / 0.5193 GB, free: 6.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.603e-05/0.3015, allocations: 3.984 kB / 0.5193 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.557e-05/0.3015, allocations: 0 / 0.5193 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.3016, allocations: 4 kB / 0.5193 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02621/0.3278, allocations: 19.56 MB / 0.5384 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.3278, allocations: 0 / 0.5384 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.3278, allocations: 0 / 0.5384 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03813/0.3659, allocations: 27.64 MB / 0.5654 GB, free: 7.086 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3659, allocations: 0 / 0.5654 GB, free: 7.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3659, allocations: 0 / 0.5654 GB, free: 7.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.3659, allocations: 0 / 0.5654 GB, free: 7.086 MB / 430.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.007532/0.3735, allocations: 0.6929 MB / 0.5661 GB, free: 6.336 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3735, allocations: 11.89 kB / 0.5661 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.3736, allocations: 38.73 kB / 0.5662 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3736, allocations: 4.938 kB / 0.5662 GB, free: 6.273 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3737, allocations: 163 kB / 0.5663 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3737, allocations: 0 / 0.5663 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.514e-06/0.3737, allocations: 3.938 kB / 0.5663 GB, free: 6.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.194e-05/0.3738, allocations: 29.7 kB / 0.5664 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3738, allocations: 0 / 0.5664 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3738, allocations: 4 kB / 0.5664 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3738, allocations: 4 kB / 0.5664 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.3739, allocations: 0 / 0.5664 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.374, allocations: 153.6 kB / 0.5665 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.567e-05/0.3741, allocations: 18.58 kB / 0.5665 GB, free: 5.801 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.3741, allocations: 12.89 kB / 0.5665 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.3741, allocations: 0 / 0.5665 GB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.3742, allocations: 60.27 kB / 0.5666 GB, free: 5.711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3742, allocations: 0 / 0.5666 GB, free: 5.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000184/0.3743, allocations: 67.38 kB / 0.5667 GB, free: 5.633 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/0.3744, allocations: 81.05 kB / 0.5667 GB, free: 5.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.3744, allocations: 93.86 kB / 0.5668 GB, free: 5.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3745, allocations: 25.7 kB / 0.5669 GB, free: 5.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.3745, allocations: 80.14 kB / 0.5669 GB, free: 5.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.3745, allocations: 4 kB / 0.5669 GB, free: 5.316 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.3746, allocations: 13.84 kB / 0.5669 GB, free: 5.297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3747, allocations: 318.8 kB / 0.5672 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.32e-05/0.3747, allocations: 7.938 kB / 0.5673 GB, free: 4.969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.3747, allocations: 0 / 0.5673 GB, free: 4.969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.469e-05/0.3748, allocations: 64.27 kB / 0.5673 GB, free: 4.891 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3748, allocations: 0 / 0.5673 GB, free: 4.891 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.306e-05/0.3748, allocations: 59.34 kB / 0.5674 GB, free: 4.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/0.3749, allocations: 37.78 kB / 0.5674 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3749, allocations: 4 kB / 0.5674 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3749, allocations: 0 / 0.5674 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.3749, allocations: 0 / 0.5674 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3749, allocations: 0 / 0.5674 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.954e-05/0.3749, allocations: 3.938 kB / 0.5674 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.3749, allocations: 7.984 kB / 0.5674 GB, free: 4.762 MB / 430.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.107e-05/0.375, allocations: 139.4 kB / 0.5676 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.375, allocations: 3.953 kB / 0.5676 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.581e-05/0.375, allocations: 11.12 kB / 0.5676 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.3751, allocations: 0 / 0.5676 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3751, allocations: 0 / 0.5676 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/0.3751, allocations: 7.922 kB / 0.5676 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3752, allocations: 145.7 kB / 0.5677 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3752, allocations: 0 / 0.5677 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-07/0.3752, allocations: 0 / 0.5677 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3752, allocations: 4 kB / 0.5677 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.3752, allocations: 0 / 0.5677 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.3752, allocations: 0 / 0.5677 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3752, allocations: 0 / 0.5677 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.3753, allocations: 98.77 kB / 0.5678 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.3753, allocations: 77.11 kB / 0.5679 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.3753, allocations: 0 / 0.5679 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-06/0.3753, allocations: 0 / 0.5679 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.3754, allocations: 7.984 kB / 0.5679 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3754, allocations: 7.938 kB / 0.5679 GB, free: 4.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.601e-05/0.3754, allocations: 79.22 kB / 0.568 GB, free: 4.082 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3754, allocations: 4.031 kB / 0.568 GB, free: 4.078 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01078/0.3862, allocations: 3.822 MB / 0.5717 GB, free: 260 kB / 430.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.01942/0.4056, allocations: 1.528 MB / 0.5732 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.4058, allocations: 59.34 kB / 0.5733 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.4058, allocations: 0 / 0.5733 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.4058, allocations: 59.39 kB / 0.5733 GB, free: 14.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.406, allocations: 12 kB / 0.5733 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/0.4132, allocations: 360.7 kB / 0.5737 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.4135, allocations: 0.669 MB / 0.5743 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.723e-06/0.4135, allocations: 0 / 0.5743 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.4135, allocations: 11.44 kB / 0.5743 GB, free: 13.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4135, allocations: 0 / 0.5743 GB, free: 13.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4961/0.9097, allocations: 114.4 MB / 0.6861 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.31, allocations: 2.109 kB / 0.6861 GB, free: 31.68 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.29037980499561] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 17.415434013004415 17.424410428 17.056317671 Calling exit ...