Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008921/0.0008921, allocations: 101 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001286, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.3 MB / 246 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003658, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1399, allocations: 63.48 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002097/0.1421, allocations: 1.291 MB / 482.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1437, allocations: 1.074 MB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.1438, allocations: 0 / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.144, allocations: 23.92 kB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.1442, allocations: 71.75 kB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1445, allocations: 99.19 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1446, allocations: 51.84 kB / 484.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.458e-05/0.1447, allocations: 4 kB / 484.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.1448, allocations: 27.86 kB / 484.3 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1449, allocations: 27.91 kB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.145, allocations: 4 kB / 484.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1451, allocations: 83.88 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.1452, allocations: 11.92 kB / 484.4 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.1452, allocations: 33.7 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1454, allocations: 100.1 kB / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1454, allocations: 0 / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1454, allocations: 0 / 484.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1454, allocations: 3.938 kB / 484.5 MB, free: 2.344 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.0005111/0.1459, allocations: 399.1 kB / 484.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.146, allocations: 8.031 kB / 484.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.146, allocations: 30.56 kB / 485 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.1461, allocations: 7.906 kB / 485 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1463, allocations: 194.8 kB / 485.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1463, allocations: 7.938 kB / 485.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.1464, allocations: 3.984 kB / 485.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1465, allocations: 71.41 kB / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1465, allocations: 3.938 kB / 485.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1466, allocations: 0 / 485.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1466, allocations: 0 / 485.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.496e-05/0.1467, allocations: 31.97 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1471, allocations: 280.9 kB / 485.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.1473, allocations: 54.48 kB / 485.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.1473, allocations: 12.86 kB / 485.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1473, allocations: 0 / 485.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.1474, allocations: 42.64 kB / 485.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1474, allocations: 4 kB / 485.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000546/0.1479, allocations: 157.2 kB / 485.8 MB, free: 0.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.148, allocations: 93.06 kB / 485.9 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1482, allocations: 144.2 kB / 486.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1482, allocations: 29.7 kB / 486.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.1482, allocations: 88.14 kB / 486.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1483, allocations: 15.8 kB / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1483, allocations: 0 / 486.2 MB, free: 488 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1484, allocations: 318.8 kB / 486.5 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.1485, allocations: 23.98 kB / 486.5 MB, free: 136 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.1486, allocations: 41.69 kB / 486.6 MB, free: 88 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.949e-05/0.1486, allocations: 27.98 kB / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1486, allocations: 0 / 486.6 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002/0.1488, allocations: 97.55 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1489, allocations: 8 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1489, allocations: 3.984 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1489, allocations: 0 / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.149, allocations: 12 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.149, allocations: 3.953 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.149, allocations: 11.98 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.149, allocations: 4 kB / 486.7 MB, free: 15.91 MB / 366.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 7.942e-05/0.1491, allocations: 113.8 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.1492, allocations: 7.906 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.1494, allocations: 125.7 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.1494, allocations: 3.938 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1494, allocations: 0 / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.1494, allocations: 4.234 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.1499, allocations: 370.8 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1499, allocations: 4 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.1499, allocations: 12 kB / 487.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.15, allocations: 7.922 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.15, allocations: 4 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.15, allocations: 7.938 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.15, allocations: 0 / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1502, allocations: 179.5 kB / 487.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1503, allocations: 93 kB / 487.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.1503, allocations: 0 / 487.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.1504, allocations: 11.98 kB / 487.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1504, allocations: 7.953 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1504, allocations: 0 / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.219e-05/0.1505, allocations: 121.4 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1505, allocations: 0 / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002827/0.1508, allocations: 35.98 kB / 487.8 MB, free: 14.73 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.001457/0.1523, allocations: 1.098 MB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.1525, allocations: 55.95 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1525, allocations: 4 kB / 489 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.029e-05/0.1526, allocations: 35.92 kB / 489 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.1529, allocations: 22.25 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.1539, allocations: 0.5827 MB / 489.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.1542, allocations: 0.6887 MB / 490.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.946e-05/0.1543, allocations: 20.12 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.1543, allocations: 31.41 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1543, allocations: 0 / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.17, allocations: 2.784 MB / 493.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.1703, allocations: 237.6 kB / 493.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.018, allocations: 0 / 493.4 MB, free: 9.332 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test24_res.mat does not exist to compare? outputFormat=mat