Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001136, allocations: 96.08 kB / 17 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 197 kB / 17.9 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246 MB, free: 10.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 45.93 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004132/0.0004133, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1954, allocations: 63.46 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002149/0.1976, allocations: 1.314 MB / 482.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009561/0.1986, allocations: 0.4914 MB / 483.4 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.1987, allocations: 4 kB / 483.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.199, allocations: 99.73 kB / 483.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1993, allocations: 103.8 kB / 483.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.1997, allocations: 99.25 kB / 483.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.1999, allocations: 75.8 kB / 483.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2, allocations: 12 kB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.852e-05/0.2001, allocations: 43.83 kB / 483.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2002, allocations: 59.8 kB / 483.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.2002, allocations: 0 / 483.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.2003, allocations: 32 kB / 484 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.2004, allocations: 19.92 kB / 484 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.2004, allocations: 41.64 kB / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2006, allocations: 84.14 kB / 484.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2006, allocations: 0 / 484.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2007, allocations: 4 kB / 484.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.2007, allocations: 0 / 484.1 MB, free: 2.773 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005413/0.2012, allocations: 422.6 kB / 484.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2013, allocations: 12.03 kB / 484.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.2013, allocations: 34.56 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.2014, allocations: 11.81 kB / 484.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.2016, allocations: 208.5 kB / 484.8 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.2016, allocations: 0 / 484.8 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.2017, allocations: 8 kB / 484.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2018, allocations: 53.67 kB / 484.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2019, allocations: 7.906 kB / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2019, allocations: 0 / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2019, allocations: 3.938 kB / 484.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.202, allocations: 27.98 kB / 484.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005077/0.2025, allocations: 308.8 kB / 485.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2027, allocations: 46.5 kB / 485.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.2027, allocations: 24.94 kB / 485.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.2028, allocations: 0 / 485.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.2028, allocations: 34.56 kB / 485.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.552e-06/0.2028, allocations: 0 / 485.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001016/0.2039, allocations: 289 kB / 485.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.2039, allocations: 51.41 kB / 485.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.2042, allocations: 258.1 kB / 485.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.2042, allocations: 25.7 kB / 485.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.2043, allocations: 116 kB / 486 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.2043, allocations: 27.64 kB / 486 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.2044, allocations: 0 / 486 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2045, allocations: 326.8 kB / 486.3 MB, free: 308 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.2046, allocations: 31.92 kB / 486.4 MB, free: 276 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.2047, allocations: 39.97 kB / 486.4 MB, free: 236 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.912e-05/0.2048, allocations: 35.98 kB / 486.5 MB, free: 200 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.2048, allocations: 7.938 kB / 486.5 MB, free: 192 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002304/0.205, allocations: 121.9 kB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2051, allocations: 8 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2051, allocations: 0 / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2051, allocations: 3.953 kB / 486.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2052, allocations: 19.98 kB / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2052, allocations: 0 / 486.6 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.2053, allocations: 7.984 kB / 486.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.2053, allocations: 12 kB / 486.6 MB, free: 12 kB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001352/0.2054, allocations: 129.8 kB / 486.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.2055, allocations: 23.8 kB / 486.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.2058, allocations: 131 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2058, allocations: 3.953 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2058, allocations: 7.938 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2058, allocations: 0 / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005639/0.2064, allocations: 443.6 kB / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2064, allocations: 4.031 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.2065, allocations: 19.95 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.2065, allocations: 3.984 kB / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2065, allocations: 0 / 487.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.2065, allocations: 7.938 kB / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2065, allocations: 0 / 487.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.2068, allocations: 216.3 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.2069, allocations: 96.91 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2069, allocations: 3.953 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.207, allocations: 4 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.207, allocations: 7.984 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.207, allocations: 8 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.2072, allocations: 192.4 kB / 487.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2072, allocations: 0 / 487.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.2075, allocations: 16 kB / 487.9 MB, free: 14.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.001518/0.209, allocations: 1.108 MB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.2093, allocations: 87.89 kB / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2093, allocations: 0 / 489.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.2094, allocations: 43.97 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2097, allocations: 17.72 kB / 489.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.2111, allocations: 0.8823 MB / 490.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.2115, allocations: 0.7199 MB / 490.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.379e-05/0.2116, allocations: 16.95 kB / 490.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.2117, allocations: 43.42 kB / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2117, allocations: 0 / 490.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.2256, allocations: 2.863 MB / 493.7 MB, free: 9 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.2258, allocations: 226.1 kB / 493.9 MB, free: 8.754 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.052, allocations: 0 / 493.9 MB, free: 8.754 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat does not exist to compare? outputFormat=mat