Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001392, allocations: 105 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 217.6 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 230.2 MB / 256.2 MB, free: 8.766 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2026/0.2026, allocations: 46.88 MB / 359.3 MB, free: 5.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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 83.86 kB / 0.494 GB, free: 9.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2717, allocations: 65.96 MB / 0.5584 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.001392/0.2731, allocations: 0.4931 MB / 0.5589 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.2759, allocations: 2.176 MB / 0.561 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.2759, allocations: 0 / 0.561 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.2759, allocations: 0 / 0.561 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-06/0.2759, allocations: 0 / 0.561 GB, free: 2.547 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001725/0.2776, allocations: 0.7232 MB / 0.5617 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.929e-05/0.2777, allocations: 4 kB / 0.5617 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.2777, allocations: 3.984 kB / 0.5617 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.21e-05/0.2777, allocations: 0 / 0.5617 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.547e-05/0.2777, allocations: 0 / 0.5617 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-06/0.2777, allocations: 0 / 0.5617 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.2796, allocations: 1.584 MB / 0.5633 GB, free: 244 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.2797, allocations: 0 / 0.5633 GB, free: 244 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.2797, allocations: 4 kB / 0.5633 GB, free: 240 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.2811, allocations: 1.557 MB / 0.5648 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2811, allocations: 0 / 0.5648 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2811, allocations: 0 / 0.5648 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.2811, allocations: 4 kB / 0.5648 GB, free: 14.67 MB / 414.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.0005585/0.2817, allocations: 416.5 kB / 0.5652 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2817, allocations: 12.03 kB / 0.5652 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.284e-05/0.2818, allocations: 38.67 kB / 0.5652 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.2818, allocations: 0.9375 kB / 0.5652 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.925e-05/0.2819, allocations: 160.4 kB / 0.5654 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.2819, allocations: 4.375 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.2819, allocations: 7.938 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.782e-05/0.282, allocations: 29.7 kB / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.282, allocations: 4 kB / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.282, allocations: 0 / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.965e-06/0.282, allocations: 0 / 0.5654 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.282, allocations: 4 kB / 0.5654 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.2821, allocations: 145.7 kB / 0.5656 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/0.2822, allocations: 30.42 kB / 0.5656 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.2822, allocations: 4.859 kB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.2822, allocations: 0 / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.797e-05/0.2823, allocations: 64.27 kB / 0.5657 GB, free: 13.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.2823, allocations: 0 / 0.5657 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.2824, allocations: 67.41 kB / 0.5657 GB, free: 13.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.2825, allocations: 84.98 kB / 0.5658 GB, free: 13.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.186e-05/0.2825, allocations: 89.86 kB / 0.5659 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.2825, allocations: 29.7 kB / 0.5659 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.2826, allocations: 80.14 kB / 0.566 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.2826, allocations: 4.125 kB / 0.566 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.2826, allocations: 13.72 kB / 0.566 GB, free: 13.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2827, allocations: 310.8 kB / 0.5663 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-06/0.2827, allocations: 4 kB / 0.5663 GB, free: 12.85 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.2827, allocations: 3.984 kB / 0.5663 GB, free: 12.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.2828, allocations: 60.27 kB / 0.5664 GB, free: 12.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.2828, allocations: 0 / 0.5664 GB, free: 12.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.08e-05/0.2829, allocations: 71.38 kB / 0.5664 GB, free: 12.69 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.2829, allocations: 33.7 kB / 0.5665 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2829, allocations: 3.984 kB / 0.5665 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.2829, allocations: 0 / 0.5665 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.2829, allocations: 0 / 0.5665 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.2829, allocations: 0 / 0.5665 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.2829, allocations: 4 kB / 0.5665 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.93e-06/0.2829, allocations: 0 / 0.5665 GB, free: 12.64 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 7.477e-05/0.283, allocations: 131.5 kB / 0.5666 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.283, allocations: 7.938 kB / 0.5666 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-06/0.283, allocations: 7.125 kB / 0.5666 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.283, allocations: 0 / 0.5666 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.283, allocations: 0 / 0.5666 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.283, allocations: 0 / 0.5666 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.507e-05/0.2831, allocations: 149.6 kB / 0.5668 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.2831, allocations: 0 / 0.5668 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.244e-06/0.2831, allocations: 4 kB / 0.5668 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.2831, allocations: 0 / 0.5668 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.2831, allocations: 0 / 0.5668 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2831, allocations: 3.938 kB / 0.5668 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2831, allocations: 0 / 0.5668 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.553e-05/0.2832, allocations: 106.7 kB / 0.5669 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.2833, allocations: 77.11 kB / 0.5669 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.2833, allocations: 4 kB / 0.567 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.2833, allocations: 0 / 0.567 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.371e-05/0.2833, allocations: 4 kB / 0.567 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.2833, allocations: 3.984 kB / 0.567 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.403e-05/0.2833, allocations: 79.31 kB / 0.567 GB, free: 11.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2833, allocations: 0 / 0.567 GB, free: 11.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007088/0.284, allocations: 275.5 kB / 0.5673 GB, free: 11.7 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.001503/0.2855, allocations: 0.9368 MB / 0.5682 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 8.994e-05/0.2856, allocations: 71.34 kB / 0.5683 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2856, allocations: 0 / 0.5683 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.411e-05/0.2857, allocations: 55.41 kB / 0.5683 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.2858, allocations: 7.922 kB / 0.5683 GB, free: 10.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.2862, allocations: 162.3 kB / 0.5685 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.2865, allocations: 0.6729 MB / 0.5692 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.3e-06/0.2865, allocations: 0 / 0.5692 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.2865, allocations: 7.438 kB / 0.5692 GB, free: 9.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2865, allocations: 0 / 0.5692 GB, free: 9.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.3199, allocations: 8.219 MB / 0.5772 GB, free: 1.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.527, allocations: 0 / 0.5772 GB, free: 1.512 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_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_1_0-beta_om_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.055052688010619]