Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007933/0.0007933, allocations: 102.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.0008634/0.0008635, allocations: 191.9 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.55/1.55, 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.2293/0.2293, allocations: 45.93 MB / 344.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003272, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 63.46 MB / 481.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001874/0.1316, allocations: 1.299 MB / 482.9 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.133, allocations: 1.074 MB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.1331, allocations: 0 / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.1333, allocations: 19.91 kB / 484 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002277/0.1335, allocations: 63.77 kB / 484.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.1338, allocations: 79.34 kB / 484.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.1339, allocations: 55.83 kB / 484.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.691e-05/0.134, allocations: 8 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.1341, allocations: 23.92 kB / 484.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1342, allocations: 31.84 kB / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1342, allocations: 0 / 484.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1344, allocations: 87.88 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.1344, allocations: 7.922 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.1344, allocations: 33.7 kB / 484.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.1346, allocations: 100.1 kB / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1346, allocations: 0 / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1346, allocations: 0 / 484.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1346, allocations: 0 / 484.5 MB, free: 2.352 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.0004889/0.1351, allocations: 403.1 kB / 484.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1352, allocations: 8.031 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.1352, allocations: 34.56 kB / 484.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.1353, allocations: 3.906 kB / 484.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.1355, allocations: 198.8 kB / 485.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.1355, allocations: 0 / 485.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1355, allocations: 0 / 485.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1357, allocations: 75.33 kB / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1357, allocations: 0 / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1357, allocations: 0 / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1357, allocations: 0 / 485.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.822e-05/0.1358, allocations: 27.92 kB / 485.2 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1362, allocations: 280.9 kB / 485.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1364, allocations: 42.56 kB / 485.6 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.1364, allocations: 16.86 kB / 485.6 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1365, allocations: 3.938 kB / 485.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1365, allocations: 30.56 kB / 485.6 MB, free: 1.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1365, allocations: 4 kB / 485.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005417/0.137, allocations: 161.6 kB / 485.8 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.1371, allocations: 93.05 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1373, allocations: 144 kB / 486 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1373, allocations: 25.7 kB / 486 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.1373, allocations: 92.14 kB / 486.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1374, allocations: 15.78 kB / 486.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.1374, allocations: 3.938 kB / 486.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.1375, allocations: 318.8 kB / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/0.1375, allocations: 23.98 kB / 486.5 MB, free: 160 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.1376, allocations: 41.69 kB / 486.5 MB, free: 112 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.529e-05/0.1377, allocations: 16 kB / 486.5 MB, free: 96 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1377, allocations: 0 / 486.5 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001998/0.1379, allocations: 101.6 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1379, allocations: 4 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.138, allocations: 0 / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.138, allocations: 0 / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.138, allocations: 15.98 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.138, allocations: 3.953 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.1381, allocations: 12 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1381, allocations: 256 / 486.7 MB, free: 15.95 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.935e-05/0.1382, allocations: 113.8 kB / 486.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1382, allocations: 7.906 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.1385, allocations: 109.8 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1385, allocations: 7.984 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1385, allocations: 3.938 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1385, allocations: 3.953 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.1389, allocations: 358.5 kB / 487.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1389, allocations: 0 / 487.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.901e-05/0.139, allocations: 11.98 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.139, allocations: 4 kB / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.139, allocations: 0 / 487.3 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.139, allocations: 3.953 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.139, allocations: 3.938 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1392, allocations: 179.5 kB / 487.4 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.1393, allocations: 93 kB / 487.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1393, allocations: 0 / 487.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.1394, allocations: 7.984 kB / 487.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.516e-05/0.1394, allocations: 7.953 kB / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.1394, allocations: 0 / 487.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.671e-05/0.1395, allocations: 121.4 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1395, allocations: 0 / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.1398, allocations: 36 kB / 487.7 MB, free: 14.8 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.001373/0.1412, allocations: 1.099 MB / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1414, allocations: 47.97 kB / 488.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1414, allocations: 4 kB / 488.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.914e-05/0.1415, allocations: 31.92 kB / 488.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1418, allocations: 26.17 kB / 488.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1428, allocations: 0.5619 MB / 489.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.143, allocations: 0.6887 MB / 490.2 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.1431, allocations: 15.98 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.1432, allocations: 27.42 kB / 490.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1432, allocations: 0 / 490.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.1589, allocations: 2.766 MB / 493 MB, free: 9.715 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.1591, allocations: 233.5 kB / 493.2 MB, free: 9.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/2.058, allocations: 0 / 493.2 MB, free: 9.465 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat does not exist to compare? outputFormat=mat