Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007293/0.0007292, allocations: 100.7 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.0008193/0.0008193, allocations: 191.7 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.404/1.404, allocations: 227.4 MB / 246 MB, free: 11.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 45.93 MB / 344.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002818/0.0002818, allocations: 12 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 63.46 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002212/0.1563, allocations: 1.31 MB / 482.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009921/0.1573, allocations: 499.2 kB / 483.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.769e-05/0.1574, allocations: 0 / 483.4 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1577, allocations: 79.77 kB / 483.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.1581, allocations: 83.78 kB / 483.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000406/0.1585, allocations: 107.5 kB / 483.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1587, allocations: 63.83 kB / 483.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1588, allocations: 15.98 kB / 483.8 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.1589, allocations: 27.84 kB / 483.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.159, allocations: 47.83 kB / 483.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.159, allocations: 7.984 kB / 483.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1592, allocations: 32 kB / 483.9 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.1592, allocations: 19.92 kB / 483.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.1593, allocations: 37.64 kB / 483.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.1594, allocations: 80.09 kB / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1595, allocations: 4 kB / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.1595, allocations: 0 / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1595, allocations: 3.938 kB / 484 MB, free: 2.867 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.0005126/0.16, allocations: 398.9 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1601, allocations: 12.03 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.1601, allocations: 42.5 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.1601, allocations: 7.906 kB / 484.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1604, allocations: 199.5 kB / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1604, allocations: 0 / 484.7 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.1604, allocations: 4 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.1606, allocations: 57.67 kB / 484.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1606, allocations: 0 / 484.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1606, allocations: 0 / 484.7 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1606, allocations: 4 kB / 484.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.777e-05/0.1607, allocations: 27.98 kB / 484.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.1612, allocations: 312.6 kB / 485.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1614, allocations: 50.56 kB / 485.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.615e-05/0.1614, allocations: 20.94 kB / 485.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.1615, allocations: 0 / 485.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1615, allocations: 34.5 kB / 485.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.1615, allocations: 0 / 485.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009775/0.1625, allocations: 277.1 kB / 485.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.1626, allocations: 55.41 kB / 485.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1628, allocations: 226.7 kB / 485.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1628, allocations: 25.7 kB / 485.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.396e-05/0.1629, allocations: 100.1 kB / 485.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.1629, allocations: 23.7 kB / 485.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.1629, allocations: 8 kB / 485.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1631, allocations: 322.8 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.1632, allocations: 35.97 kB / 486.2 MB, free: 456 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.766e-05/0.1632, allocations: 27.98 kB / 486.3 MB, free: 428 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.1633, allocations: 43.98 kB / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1633, allocations: 0 / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002134/0.1635, allocations: 117.4 kB / 486.4 MB, free: 260 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1636, allocations: 7.984 kB / 486.4 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1636, allocations: 4 kB / 486.4 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.1636, allocations: 3.953 kB / 486.4 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1637, allocations: 20 kB / 486.5 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1637, allocations: 3.984 kB / 486.5 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.1638, allocations: 8.422 kB / 486.5 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.1638, allocations: 4 kB / 486.5 MB, free: 208 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.0001094/0.1639, allocations: 129.8 kB / 486.6 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.164, allocations: 11.91 kB / 486.6 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.1643, allocations: 146.8 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1643, allocations: 7.938 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.1643, allocations: 4 kB / 486.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1643, allocations: 3.984 kB / 486.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.1648, allocations: 419.7 kB / 487.2 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/0.1648, allocations: 7.984 kB / 487.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-05/0.1649, allocations: 19.95 kB / 487.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1649, allocations: 4 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1649, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.165, allocations: 8.016 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.165, allocations: 4 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1652, allocations: 220.2 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.1653, allocations: 89.02 kB / 487.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.1653, allocations: 11.94 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.439e-05/0.1654, allocations: 8 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.1655, allocations: 11.92 kB / 487.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1655, allocations: 0 / 487.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1656, allocations: 164.7 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1656, allocations: 0 / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1659, allocations: 24 kB / 487.7 MB, free: 14.83 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.001703/0.1676, allocations: 1.103 MB / 488.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1678, allocations: 87.94 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1679, allocations: 0 / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.1e-05/0.168, allocations: 47.91 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1683, allocations: 8 kB / 489 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1696, allocations: 0.802 MB / 489.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1699, allocations: 0.7121 MB / 490.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.047e-05/0.17, allocations: 20.95 kB / 490.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.17, allocations: 39.42 kB / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.17, allocations: 0 / 490.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01297/0.183, allocations: 2.706 MB / 493.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.1832, allocations: 218.8 kB / 493.5 MB, free: 9.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.041, allocations: 0 / 493.5 MB, free: 9.234 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat does not exist to compare? outputFormat=mat