Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007568/0.0007566, allocations: 100.4 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000853/0.0008529, allocations: 194 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246 MB, free: 10.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 45.91 MB / 344.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002786/0.0002787, allocations: 12 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002137/0.146, allocations: 1.291 MB / 482.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.1469, allocations: 479.2 kB / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.147, allocations: 0 / 483.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1473, allocations: 27.91 kB / 483.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1475, allocations: 55.83 kB / 483.5 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.1478, allocations: 79.78 kB / 483.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.148, allocations: 63.77 kB / 483.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1481, allocations: 4 kB / 483.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.1481, allocations: 23.91 kB / 483.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.1482, allocations: 15.88 kB / 483.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1482, allocations: 0 / 483.7 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.1483, allocations: 27.98 kB / 483.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.1484, allocations: 7.938 kB / 483.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.1484, allocations: 29.7 kB / 483.7 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.1486, allocations: 68.11 kB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1486, allocations: 4 kB / 483.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1486, allocations: 0 / 483.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1486, allocations: 7.938 kB / 483.8 MB, free: 3.043 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006/0.1492, allocations: 371 kB / 484.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1493, allocations: 12.03 kB / 484.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.1493, allocations: 38.56 kB / 484.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1494, allocations: 7.906 kB / 484.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.1496, allocations: 186.9 kB / 484.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.1496, allocations: 4 kB / 484.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1497, allocations: 7.984 kB / 484.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1498, allocations: 49.62 kB / 484.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1499, allocations: 0 / 484.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1499, allocations: 4 kB / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1499, allocations: 0 / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.15, allocations: 23.98 kB / 484.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.1505, allocations: 280.8 kB / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1507, allocations: 42.5 kB / 484.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.627e-05/0.1508, allocations: 20.94 kB / 484.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1508, allocations: 3.984 kB / 484.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1509, allocations: 38.56 kB / 484.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.1509, allocations: 0 / 484.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006607/0.1516, allocations: 153.3 kB / 485 MB, free: 1.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.1516, allocations: 59.36 kB / 485.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1518, allocations: 156.8 kB / 485.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1519, allocations: 25.7 kB / 485.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.1519, allocations: 92.14 kB / 485.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.152, allocations: 11.8 kB / 485.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.152, allocations: 8 kB / 485.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1522, allocations: 322.8 kB / 485.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.787e-05/0.1522, allocations: 19.98 kB / 485.7 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.788e-05/0.1523, allocations: 19.98 kB / 485.7 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.668e-05/0.1524, allocations: 23.94 kB / 485.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1524, allocations: 4 kB / 485.7 MB, free: 0.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001887/0.1526, allocations: 93.5 kB / 485.8 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1526, allocations: 8 kB / 485.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1526, allocations: 0 / 485.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1526, allocations: 3.953 kB / 485.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.1527, allocations: 12 kB / 485.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1527, allocations: 7.984 kB / 485.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.751e-05/0.1528, allocations: 7.938 kB / 485.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1528, allocations: 4 kB / 485.9 MB, free: 0.7344 MB / 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 (5): * Single equations (assignments): 5 * 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 9.219e-05/0.1529, allocations: 113.8 kB / 486 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1529, allocations: 7.906 kB / 486 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.1531, allocations: 110.1 kB / 486.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1532, allocations: 4 kB / 486.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/0.1532, allocations: 11.95 kB / 486.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1532, allocations: 0 / 486.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1536, allocations: 342.6 kB / 486.5 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.1536, allocations: 4 kB / 486.5 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.12e-05/0.1537, allocations: 11.98 kB / 486.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1537, allocations: 0 / 486.5 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1537, allocations: 11.95 kB / 486.5 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1537, allocations: 3.938 kB / 486.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1537, allocations: 0 / 486.5 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.154, allocations: 183.4 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.154, allocations: 85 kB / 486.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1541, allocations: 4 kB / 486.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.245e-05/0.1541, allocations: 7.953 kB / 486.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1542, allocations: 11.98 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1542, allocations: 4.281 kB / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.929e-05/0.1543, allocations: 113.7 kB / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1543, allocations: 0 / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1545, allocations: 20 kB / 486.9 MB, free: 15.61 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001425/0.156, allocations: 1.009 MB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.1562, allocations: 51.95 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1562, allocations: 8 kB / 488 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.1563, allocations: 27.92 kB / 488 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1566, allocations: 15.95 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1579, allocations: 0.5708 MB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1583, allocations: 0.7043 MB / 489.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.828e-05/0.1584, allocations: 4 kB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.1584, allocations: 23.42 kB / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1584, allocations: 0 / 489.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.1716, allocations: 2.121 MB / 491.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.1719, allocations: 221.7 kB / 491.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/1.959, allocations: 0 / 491.7 MB, free: 10.97 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat does not exist to compare? outputFormat=mat