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.001278/0.001278, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001438/0.001438, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.413/1.413, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2252/0.2252, allocations: 46.92 MB / 360.9 MB, free: 4.297 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.001914/0.001914, allocations: 76.08 kB / 0.4961 GB, free: 7.945 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3192, allocations: 66.04 MB / 0.5606 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001619/0.3209, allocations: 500 kB / 0.5611 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3231, allocations: 1.575 MB / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.3231, allocations: 0 / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.773e-05/0.3231, allocations: 0 / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.862e-06/0.3231, allocations: 0 / 0.5627 GB, free: 2.418 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.0009564/0.3241, allocations: 255.3 kB / 0.5629 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.232e-05/0.3241, allocations: 8 kB / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.3242, allocations: 0 / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.434e-05/0.3242, allocations: 0 / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.364e-05/0.3242, allocations: 0 / 0.5629 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.3242, allocations: 3.984 kB / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.3254, allocations: 0.8116 MB / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.843e-06/0.3254, allocations: 0 / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.736e-05/0.3254, allocations: 0 / 0.5637 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007333/0.3261, allocations: 0.6607 MB / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.3261, allocations: 0 / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3261, allocations: 0 / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3261, allocations: 4 kB / 0.5643 GB, free: 0.6797 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.0004165/0.3265, allocations: 287.9 kB / 0.5646 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3266, allocations: 12.03 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.3266, allocations: 30.75 kB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.3266, allocations: 0.9375 kB / 0.5647 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/0.3267, allocations: 110.5 kB / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.3267, allocations: 384 / 0.5648 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3267, allocations: 4.375 kB / 0.5648 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.91e-05/0.3268, allocations: 41.75 kB / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3268, allocations: 0 / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.3268, allocations: 0 / 0.5648 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3269, allocations: 4 kB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.535e-05/0.3269, allocations: 0 / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.327, allocations: 112.8 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.3271, allocations: 22.61 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.509e-05/0.3271, allocations: 8.844 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.3271, allocations: 4 kB / 0.565 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.3271, allocations: 64.14 kB / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3271, allocations: 0 / 0.565 GB, free: 15.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.3273, allocations: 63.45 kB / 0.5651 GB, free: 15.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.3274, allocations: 85.09 kB / 0.5652 GB, free: 15.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.357e-05/0.3274, allocations: 97.81 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3274, allocations: 25.7 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.043e-05/0.3275, allocations: 80.27 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.3275, allocations: 4 kB / 0.5654 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3275, allocations: 13.72 kB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.3277, allocations: 310.8 kB / 0.5657 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-06/0.3277, allocations: 3.938 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.3277, allocations: 0 / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.85e-05/0.3277, allocations: 68.2 kB / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3277, allocations: 0 / 0.5657 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.649e-05/0.3278, allocations: 67.45 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.3278, allocations: 33.64 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3278, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3279, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.3279, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.3279, allocations: 7.938 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.419e-05/0.3279, allocations: 0 / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.3279, allocations: 0 / 0.5658 GB, free: 14.91 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.989e-05/0.328, allocations: 139.5 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-06/0.328, allocations: 7.969 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.195e-05/0.328, allocations: 7 kB / 0.566 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.328, allocations: 4 kB / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.328, allocations: 0 / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.328, allocations: 0 / 0.566 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.3281, allocations: 120.8 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3281, allocations: 0 / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-06/0.3281, allocations: 3.938 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3281, allocations: 3.938 kB / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.3281, allocations: 0 / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3281, allocations: 0 / 0.5661 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3281, allocations: 4 kB / 0.5661 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.3282, allocations: 90.83 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.3282, allocations: 3.938 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.3283, allocations: 4 kB / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-06/0.3283, allocations: 0 / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.3283, allocations: 0 / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.3283, allocations: 0 / 0.5662 GB, free: 14.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.196e-05/0.3283, allocations: 80.33 kB / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3283, allocations: 0 / 0.5663 GB, free: 14.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.3287, allocations: 123.9 kB / 0.5664 GB, free: 14.24 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.000997/0.3297, allocations: 0.7051 MB / 0.5671 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.759e-05/0.3298, allocations: 63.41 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3298, allocations: 0 / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.349e-05/0.3298, allocations: 55.34 kB / 0.5672 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.3299, allocations: 12.11 kB / 0.5672 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.3303, allocations: 134.5 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.3306, allocations: 0.669 MB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.991e-06/0.3306, allocations: 0 / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.3306, allocations: 7.438 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3306, allocations: 0 / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.3633, allocations: 4.864 MB / 0.5728 GB, free: 7.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.47, allocations: 3.281 kB / 0.5728 GB, free: 7.742 MB / 414.1 MB " [Timeout remaining time 648] (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.357724248999148] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 11.575101125999936 11.593150508999999 11.263188361 Calling exit ...