Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01024/0.01024, allocations: 175.9 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.01/2.01, allocations: 194.5 MB / 210.3 MB, free: 7.801 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002055/0.002055, allocations: 112.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2572/0.2572, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004835, allocations: 14.16 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 54.87 MB / 461.1 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5753, allocations: 83.78 MB / 0.5321 GB, free: 25.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5756, allocations: 64.5 kB / 0.5322 GB, free: 25.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1157/0.6913, allocations: 25.73 MB / 0.5573 GB, free: 24.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6914, allocations: 0 / 0.5573 GB, free: 24.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.6914, allocations: 3.938 kB / 0.5573 GB, free: 24.04 MB / 378.7 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.000827/0.6923, allocations: 442.1 kB / 0.5578 GB, free: 23.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.6923, allocations: 7.594 kB / 0.5578 GB, free: 23.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.6924, allocations: 30.56 kB / 0.5578 GB, free: 23.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.442e-05/0.6924, allocations: 4 kB / 0.5578 GB, free: 23.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.62e-05/0.6925, allocations: 159.1 kB / 0.5579 GB, free: 23.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.6925, allocations: 3.812 kB / 0.5579 GB, free: 23.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.6925, allocations: 0 / 0.5579 GB, free: 23.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.2e-05/0.6926, allocations: 28.61 kB / 0.558 GB, free: 23.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.6926, allocations: 3.938 kB / 0.558 GB, free: 23.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.6927, allocations: 11.52 kB / 0.558 GB, free: 23.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6927, allocations: 0 / 0.558 GB, free: 23.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.908e-05/0.6927, allocations: 0 / 0.558 GB, free: 23.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.6928, allocations: 149.5 kB / 0.5581 GB, free: 23.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.864e-05/0.6929, allocations: 21.53 kB / 0.5582 GB, free: 23.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.45e-06/0.6929, allocations: 0 / 0.5582 GB, free: 23.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.6929, allocations: 56.27 kB / 0.5582 GB, free: 23.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.6929, allocations: 0 / 0.5582 GB, free: 23.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000173/0.6931, allocations: 70.06 kB / 0.5583 GB, free: 22.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.6932, allocations: 85.19 kB / 0.5584 GB, free: 22.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.395e-05/0.6932, allocations: 85 kB / 0.5584 GB, free: 22.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.6932, allocations: 29.64 kB / 0.5585 GB, free: 22.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.6933, allocations: 80.14 kB / 0.5585 GB, free: 22.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.6933, allocations: 0 / 0.5585 GB, free: 22.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.6933, allocations: 0 / 0.5585 GB, free: 22.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.6934, allocations: 314.2 kB / 0.5588 GB, free: 22.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/0.6934, allocations: 0 / 0.5588 GB, free: 22.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.6934, allocations: 3.906 kB / 0.5588 GB, free: 22.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.468e-05/0.6934, allocations: 29.77 kB / 0.5589 GB, free: 22.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6934, allocations: 0 / 0.5589 GB, free: 22.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.113e-05/0.6935, allocations: 66.44 kB / 0.5589 GB, free: 22.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.6936, allocations: 29.55 kB / 0.559 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6936, allocations: 0 / 0.559 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.6936, allocations: 0 / 0.559 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.6936, allocations: 7.797 kB / 0.559 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.6936, allocations: 3.375 kB / 0.559 GB, free: 22.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.6937, allocations: 3.953 kB / 0.559 GB, free: 22.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.6937, allocations: 32 / 0.559 GB, free: 22.21 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.447e-05/0.6938, allocations: 146.7 kB / 0.5591 GB, free: 22.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-06/0.6938, allocations: 0 / 0.5591 GB, free: 22.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.382e-05/0.6938, allocations: 3.125 kB / 0.5591 GB, free: 22.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.6938, allocations: 0 / 0.5591 GB, free: 22.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6938, allocations: 3.938 kB / 0.5591 GB, free: 22.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.6938, allocations: 0 / 0.5591 GB, free: 22.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.2e-05/0.6939, allocations: 153.1 kB / 0.5593 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.6939, allocations: 0 / 0.5593 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.6939, allocations: 3.938 kB / 0.5593 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.6939, allocations: 4 kB / 0.5593 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.694, allocations: 0 / 0.5593 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.694, allocations: 4 kB / 0.5593 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.694, allocations: 0 / 0.5593 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.342e-05/0.6941, allocations: 97.78 kB / 0.5594 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.6941, allocations: 77.11 kB / 0.5594 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.6941, allocations: 3.875 kB / 0.5595 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/0.6942, allocations: 7.656 kB / 0.5595 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.6942, allocations: 3.188 kB / 0.5595 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.6942, allocations: 0 / 0.5595 GB, free: 21.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.49e-05/0.6942, allocations: 75.28 kB / 0.5595 GB, free: 21.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6942, allocations: 0 / 0.5595 GB, free: 21.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009538/0.6952, allocations: 156.4 kB / 0.5597 GB, free: 21.55 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001554/0.6968, allocations: 0.8721 MB / 0.5605 GB, free: 20.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.6969, allocations: 59.28 kB / 0.5606 GB, free: 20.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6969, allocations: 0 / 0.5606 GB, free: 20.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.697, allocations: 59.14 kB / 0.5606 GB, free: 20.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001006/0.6971, allocations: 3.938 kB / 0.5607 GB, free: 20.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.6977, allocations: 170.6 kB / 0.5608 GB, free: 20.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.6978, allocations: 0.673 MB / 0.5615 GB, free: 19.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.228e-05/0.6978, allocations: 0 / 0.5615 GB, free: 19.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.6978, allocations: 7.438 kB / 0.5615 GB, free: 19.87 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6979, allocations: 0 / 0.5615 GB, free: 19.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.7273, allocations: 5.255 MB / 0.5666 GB, free: 19.25 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/0.7276, allocations: 198.3 kB / 0.5668 GB, free: 19.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/3.586, allocations: 0 / 0.5668 GB, free: 19.01 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat