Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001126, allocations: 199 kB / 8.767 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008972/0.0008972, allocations: 96.23 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.701e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1392, allocations: 63.25 MB / 0.5044 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5107/0.65, allocations: 90.34 MB / 0.5927 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.6502, allocations: 64.56 kB / 0.5927 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0701/0.7203, allocations: 25.49 MB / 0.6176 GB, free: 6.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7204, allocations: 0 / 0.6176 GB, free: 6.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.7204, allocations: 0 / 0.6176 GB, free: 6.836 MB / 410.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.0007627/0.7212, allocations: 439.4 kB / 0.618 GB, free: 6.359 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.7213, allocations: 12.03 kB / 0.6181 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.7213, allocations: 7.891 kB / 0.6181 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.7214, allocations: 166.6 kB / 0.6182 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.7214, allocations: 0 / 0.6182 GB, free: 6.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.7215, allocations: 4 kB / 0.6182 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.927e-05/0.7215, allocations: 0 / 0.6182 GB, free: 6.137 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.957e-05/0.7216, allocations: 29.7 kB / 0.6183 GB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.7216, allocations: 0 / 0.6183 GB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7216, allocations: 0 / 0.6183 GB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.7216, allocations: 0 / 0.6183 GB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.7218, allocations: 130.1 kB / 0.6184 GB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.7218, allocations: 26.53 kB / 0.6184 GB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.7219, allocations: 8.859 kB / 0.6184 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.7219, allocations: 0 / 0.6184 GB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/0.7219, allocations: 59.7 kB / 0.6185 GB, free: 5.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.7219, allocations: 4 kB / 0.6185 GB, free: 5.816 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.000214/0.7222, allocations: 29.7 kB / 0.6185 GB, free: 5.781 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.7222, allocations: 77.11 kB / 0.6186 GB, free: 5.688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.184e-05/0.7223, allocations: 85 kB / 0.6187 GB, free: 5.598 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.7223, allocations: 29.73 kB / 0.6187 GB, free: 5.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.7223, allocations: 84.12 kB / 0.6188 GB, free: 5.477 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.7224, allocations: 4 kB / 0.6188 GB, free: 5.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.7224, allocations: 0 / 0.6188 GB, free: 5.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7225, allocations: 318.6 kB / 0.6191 GB, free: 5.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-06/0.7225, allocations: 0 / 0.6191 GB, free: 5.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.7225, allocations: 0 / 0.6191 GB, free: 5.156 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.568e-05/0.7226, allocations: 7.953 kB / 0.6191 GB, free: 5.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7226, allocations: 0 / 0.6191 GB, free: 5.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.752e-05/0.7227, allocations: 33.77 kB / 0.6191 GB, free: 5.109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.7227, allocations: 37.69 kB / 0.6191 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7227, allocations: 0 / 0.6191 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.7227, allocations: 0 / 0.6191 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.7228, allocations: 0 / 0.6191 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.7228, allocations: 0 / 0.6191 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.275e-05/0.7228, allocations: 0 / 0.6191 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.7228, allocations: 4 kB / 0.6192 GB, free: 5.062 MB / 410.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.204e-05/0.7229, allocations: 138.6 kB / 0.6193 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.038e-05/0.723, allocations: 49.16 kB / 0.6193 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-06/0.723, allocations: 0 / 0.6193 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.556e-05/0.723, allocations: 3.75 kB / 0.6193 GB, free: 4.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.723, allocations: 4 kB / 0.6193 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.723, allocations: 0 / 0.6193 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.723, allocations: 0 / 0.6193 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.7232, allocations: 130.1 kB / 0.6195 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.7232, allocations: 0 / 0.6195 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-06/0.7232, allocations: 3.984 kB / 0.6195 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.7232, allocations: 3.938 kB / 0.6195 GB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.7232, allocations: 8.031 kB / 0.6195 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.7232, allocations: 0 / 0.6195 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.7232, allocations: 3.984 kB / 0.6195 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.7233, allocations: 61.22 kB / 0.6195 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.709e-05/0.7234, allocations: 81.09 kB / 0.6196 GB, free: 4.504 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.7234, allocations: 4 kB / 0.6196 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-06/0.7234, allocations: 0 / 0.6196 GB, free: 4.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.7234, allocations: 7.969 kB / 0.6196 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.7235, allocations: 0 / 0.6196 GB, free: 4.492 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.245e-05/0.7235, allocations: 75.28 kB / 0.6197 GB, free: 4.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7235, allocations: 0 / 0.6197 GB, free: 4.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000673/0.7242, allocations: 207.3 kB / 0.6199 GB, free: 4.219 MB / 410.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.001417/0.7256, allocations: 0.8726 MB / 0.6208 GB, free: 3.336 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.702e-05/0.7257, allocations: 62.66 kB / 0.6208 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7257, allocations: 0 / 0.6208 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.432e-05/0.7258, allocations: 55.41 kB / 0.6209 GB, free: 3.199 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.32e-05/0.7259, allocations: 1.719 kB / 0.6209 GB, free: 3.199 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.7263, allocations: 153.5 kB / 0.621 GB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.7266, allocations: 0.6729 MB / 0.6217 GB, free: 2.312 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.921e-06/0.7266, allocations: 0 / 0.6217 GB, free: 2.312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.7266, allocations: 15.56 kB / 0.6217 GB, free: 2.297 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7266, allocations: 0 / 0.6217 GB, free: 2.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03053/0.7572, allocations: 5.435 MB / 0.627 GB, free: 12.88 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/0.7574, allocations: 150.6 kB / 0.6271 GB, free: 12.69 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.413, allocations: 0 / 0.6271 GB, free: 12.69 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.pipe 2>&1)