Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00169/0.00169, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 94.61 kB / 261.8 MB, free: 1.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2592/0.2592, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.963e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5028/0.6667, allocations: 87.93 MB / 0.5519 GB, free: 6.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.6671, allocations: 70.36 kB / 0.552 GB, free: 6.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07063/0.7378, allocations: 25.28 MB / 0.5766 GB, free: 2.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.7378, allocations: 0 / 0.5766 GB, free: 2.031 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.7378, allocations: 0 / 0.5766 GB, free: 2.031 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.0007386/0.7386, allocations: 439.4 kB / 0.5771 GB, free: 1.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.7387, allocations: 12.03 kB / 0.5771 GB, free: 1.543 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.7387, allocations: 3.953 kB / 0.5771 GB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.7388, allocations: 159.9 kB / 0.5772 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.7388, allocations: 0 / 0.5772 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.7388, allocations: 0 / 0.5772 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.456e-05/0.7389, allocations: 0 / 0.5772 GB, free: 1.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.191e-05/0.739, allocations: 33.69 kB / 0.5773 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.739, allocations: 0 / 0.5773 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.739, allocations: 7.938 kB / 0.5773 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.739, allocations: 0 / 0.5773 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.7392, allocations: 132.8 kB / 0.5774 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.09e-05/0.7392, allocations: 22.55 kB / 0.5774 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.7393, allocations: 4.859 kB / 0.5774 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.7393, allocations: 0 / 0.5774 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/0.7393, allocations: 63.2 kB / 0.5775 GB, free: 1.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.7393, allocations: 4 kB / 0.5775 GB, free: 1.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002074/0.7396, allocations: 33.69 kB / 0.5775 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.7396, allocations: 77.11 kB / 0.5776 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.174e-05/0.7397, allocations: 88.94 kB / 0.5777 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.7397, allocations: 25.7 kB / 0.5777 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.7397, allocations: 80.14 kB / 0.5778 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.7398, allocations: 7 kB / 0.5778 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.7398, allocations: 0 / 0.5778 GB, free: 0.6719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.7399, allocations: 314.9 kB / 0.5781 GB, free: 364 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.7399, allocations: 0 / 0.5781 GB, free: 364 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.646e-06/0.7399, allocations: 3.938 kB / 0.5781 GB, free: 360 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.365e-05/0.74, allocations: 7.984 kB / 0.5781 GB, free: 352 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.74, allocations: 3.953 kB / 0.5781 GB, free: 348 kB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.704e-05/0.7401, allocations: 29.7 kB / 0.5781 GB, free: 312 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.7401, allocations: 33.7 kB / 0.5782 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7401, allocations: 0 / 0.5782 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.7401, allocations: 0 / 0.5782 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.7402, allocations: 4.094 kB / 0.5782 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.7402, allocations: 0 / 0.5782 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.7402, allocations: 0 / 0.5782 GB, free: 268 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.7402, allocations: 3.984 kB / 0.5782 GB, free: 264 kB / 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 () * 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 9.789e-05/0.7403, allocations: 133.7 kB / 0.5783 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.477e-05/0.7404, allocations: 41.59 kB / 0.5783 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-06/0.7404, allocations: 0 / 0.5783 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.901e-05/0.7404, allocations: 7.734 kB / 0.5783 GB, free: 64 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.7404, allocations: 4 kB / 0.5783 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.7404, allocations: 4.031 kB / 0.5783 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.7404, allocations: 0 / 0.5783 GB, free: 56 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.7405, allocations: 126.2 kB / 0.5785 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.7405, allocations: 0 / 0.5785 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.7406, allocations: 0 / 0.5785 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.7406, allocations: 0 / 0.5785 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.7406, allocations: 14.48 kB / 0.5785 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7406, allocations: 0 / 0.5785 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7406, allocations: 0 / 0.5785 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.6e-05/0.7407, allocations: 68.62 kB / 0.5785 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.7408, allocations: 81.06 kB / 0.5786 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.7408, allocations: 4 kB / 0.5786 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-06/0.7408, allocations: 3.938 kB / 0.5786 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.7408, allocations: 3.984 kB / 0.5786 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.7408, allocations: 0 / 0.5786 GB, free: 15.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.093e-05/0.7409, allocations: 75.28 kB / 0.5787 GB, free: 15.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7409, allocations: 0 / 0.5787 GB, free: 15.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008452/0.7417, allocations: 203.3 kB / 0.5789 GB, free: 15.42 MB / 394.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) * 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.001344/0.7431, allocations: 0.8719 MB / 0.5798 GB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.7432, allocations: 59.03 kB / 0.5798 GB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7432, allocations: 0 / 0.5798 GB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/0.7432, allocations: 55.41 kB / 0.5799 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.436e-05/0.7434, allocations: 0 / 0.5799 GB, free: 14.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.7438, allocations: 157.6 kB / 0.58 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.7441, allocations: 0.669 MB / 0.5807 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.55e-06/0.7441, allocations: 3.938 kB / 0.5807 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.7441, allocations: 11.44 kB / 0.5807 GB, free: 13.5 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.7441, allocations: 0 / 0.5807 GB, free: 13.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03/0.7741, allocations: 5.433 MB / 0.586 GB, free: 8.07 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/0.7744, allocations: 146.5 kB / 0.5861 GB, free: 7.883 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.585, allocations: 7.938 kB / 0.5861 GB, free: 7.875 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)