Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001034/0.001035, allocations: 96.41 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 198.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2413/0.2413, allocations: 45.92 MB / 344.1 MB, free: 12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002526/0.0002527, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002218/0.1257, allocations: 1.299 MB / 482.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008442/0.1266, allocations: 483.3 kB / 483.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.1267, allocations: 0 / 483.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1269, allocations: 23.86 kB / 483.4 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1271, allocations: 63.81 kB / 483.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1273, allocations: 95.81 kB / 483.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.1275, allocations: 51.84 kB / 483.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.604e-05/0.1276, allocations: 15.92 kB / 483.7 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.892e-05/0.1276, allocations: 19.88 kB / 483.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.1277, allocations: 23.84 kB / 483.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1277, allocations: 4 kB / 483.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.1278, allocations: 28 kB / 483.7 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.1279, allocations: 15.92 kB / 483.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.142e-05/0.1279, allocations: 29.7 kB / 483.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.128, allocations: 60.12 kB / 483.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1281, allocations: 0 / 483.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1281, allocations: 0 / 483.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1281, allocations: 0 / 483.8 MB, free: 3.016 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.0005274/0.1286, allocations: 390.9 kB / 484.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1287, allocations: 12.03 kB / 484.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.1287, allocations: 34.56 kB / 484.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.1287, allocations: 7.906 kB / 484.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.129, allocations: 185.8 kB / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.129, allocations: 0 / 484.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.129, allocations: 8 kB / 484.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1292, allocations: 45.69 kB / 484.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1292, allocations: 0 / 484.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1292, allocations: 0 / 484.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1292, allocations: 4 kB / 484.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1293, allocations: 35.91 kB / 484.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.1297, allocations: 288.8 kB / 484.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1299, allocations: 46.56 kB / 484.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.1299, allocations: 16.94 kB / 484.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.13, allocations: 4 kB / 484.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.13, allocations: 38.5 kB / 484.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.505e-06/0.13, allocations: 0 / 484.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005371/0.1305, allocations: 169.2 kB / 485.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1306, allocations: 59.34 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1307, allocations: 158.4 kB / 485.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.1308, allocations: 29.7 kB / 485.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.1308, allocations: 96.12 kB / 485.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.1309, allocations: 23.66 kB / 485.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.1309, allocations: 0 / 485.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.131, allocations: 318.8 kB / 485.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/0.131, allocations: 23.98 kB / 485.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.1311, allocations: 27.98 kB / 485.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.619e-05/0.1312, allocations: 23.98 kB / 485.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1312, allocations: 0 / 485.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001734/0.1314, allocations: 101.6 kB / 485.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1314, allocations: 7.938 kB / 485.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1314, allocations: 256 / 485.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1314, allocations: 3.953 kB / 486 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.1315, allocations: 23.92 kB / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1315, allocations: 0 / 486 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.684e-05/0.1316, allocations: 4 kB / 486 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1316, allocations: 8 kB / 486 MB, free: 0.6406 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.498e-05/0.1317, allocations: 121.8 kB / 486.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1317, allocations: 7.906 kB / 486.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.132, allocations: 106.2 kB / 486.2 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.132, allocations: 0 / 486.2 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.132, allocations: 3.953 kB / 486.2 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.132, allocations: 7.984 kB / 486.2 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.1325, allocations: 362.5 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1325, allocations: 4 kB / 486.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.1326, allocations: 11.98 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1326, allocations: 4 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1326, allocations: 7.953 kB / 486.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1326, allocations: 0 / 486.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1326, allocations: 0 / 486.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1329, allocations: 195.4 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.1329, allocations: 89 kB / 486.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.133, allocations: 3.938 kB / 486.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.758e-05/0.133, allocations: 11.95 kB / 486.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1331, allocations: 7.984 kB / 486.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1331, allocations: 4.188 kB / 486.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.442e-05/0.1332, allocations: 127.4 kB / 487 MB, free: 15.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1332, allocations: 0 / 487 MB, free: 15.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002527/0.1335, allocations: 12 kB / 487.1 MB, free: 15.48 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.001356/0.1348, allocations: 1.01 MB / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.135, allocations: 59.97 kB / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.135, allocations: 0 / 488.1 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.1351, allocations: 35.97 kB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.1354, allocations: 18.7 kB / 488.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000987/0.1364, allocations: 0.6245 MB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1368, allocations: 0.6965 MB / 489.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.313e-05/0.1369, allocations: 15.98 kB / 489.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.662e-05/0.1369, allocations: 27.44 kB / 489.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1369, allocations: 0 / 489.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.1569, allocations: 2.197 MB / 491.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003806/0.1573, allocations: 224.2 kB / 492 MB, free: 10.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/1.989, allocations: 0 / 492 MB, free: 10.7 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat does not exist to compare? outputFormat=mat