Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.000923/0.0009231, allocations: 97.58 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.001018/0.001019, 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.463/1.463, allocations: 227.3 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.2294/0.2294, allocations: 45.92 MB / 344.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002714, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 63.47 MB / 481.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.00199/0.1359, allocations: 1.291 MB / 482.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1374, allocations: 1.066 MB / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.1375, allocations: 0 / 484 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.1377, allocations: 23.84 kB / 484 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.1379, allocations: 67.81 kB / 484.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.1381, allocations: 67.86 kB / 484.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1382, allocations: 55.84 kB / 484.2 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.1383, allocations: 19.95 kB / 484.2 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.663e-05/0.1384, allocations: 23.86 kB / 484.3 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1386, allocations: 35.22 kB / 484.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1386, allocations: 0 / 484.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1387, allocations: 83.89 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.1388, allocations: 7.984 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.1388, allocations: 33.64 kB / 484.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.139, allocations: 100.1 kB / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.139, allocations: 0 / 484.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.139, allocations: 4 kB / 484.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.139, allocations: 0 / 484.5 MB, free: 2.34 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.0004689/0.1395, allocations: 399.1 kB / 484.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1395, allocations: 8.031 kB / 484.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.1396, allocations: 34.56 kB / 484.9 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.1396, allocations: 7.906 kB / 484.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1398, allocations: 198.8 kB / 485.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.1398, allocations: 0 / 485.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.1398, allocations: 8 kB / 485.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.14, allocations: 59.41 kB / 485.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.14, allocations: 0 / 485.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.14, allocations: 0 / 485.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.14, allocations: 4 kB / 485.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.145e-05/0.1401, allocations: 27.97 kB / 485.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.1405, allocations: 280.8 kB / 485.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.1406, allocations: 46.56 kB / 485.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.1407, allocations: 20.88 kB / 485.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1407, allocations: 4 kB / 485.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.1408, allocations: 30.56 kB / 485.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1408, allocations: 0 / 485.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005428/0.1413, allocations: 165.2 kB / 485.8 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1414, allocations: 81.06 kB / 485.9 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1415, allocations: 142 kB / 486 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.1415, allocations: 25.7 kB / 486 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.1416, allocations: 96.12 kB / 486.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.1416, allocations: 11.81 kB / 486.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.1416, allocations: 0 / 486.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.1417, allocations: 322.8 kB / 486.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.1418, allocations: 27.92 kB / 486.5 MB, free: 152 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/0.1419, allocations: 33.7 kB / 486.5 MB, free: 112 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.88e-05/0.1419, allocations: 24.02 kB / 486.5 MB, free: 88 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.142, allocations: 4 kB / 486.5 MB, free: 84 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001754/0.1421, allocations: 85.62 kB / 486.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.1422, allocations: 9.969 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1422, allocations: 0 / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1422, allocations: 4 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.755e-05/0.1422, allocations: 15.94 kB / 486.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1423, allocations: 11.94 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/0.1423, allocations: 7.984 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1423, 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 8.073e-05/0.1424, allocations: 117.8 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1425, allocations: 7.906 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.1427, allocations: 109.9 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1427, allocations: 0 / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1427, allocations: 0 / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1427, allocations: 3.953 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.1431, allocations: 362.4 kB / 487.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1431, allocations: 3.984 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/0.1432, allocations: 12 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1432, allocations: 0 / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.1432, allocations: 288 / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1432, allocations: 3.953 kB / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1432, allocations: 0 / 487.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.1434, allocations: 187.5 kB / 487.4 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.1434, allocations: 96.98 kB / 487.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1435, allocations: 0 / 487.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.1435, allocations: 4 kB / 487.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1436, allocations: 15.94 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1436, allocations: 3.938 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.1437, allocations: 111.3 kB / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1437, allocations: 0 / 487.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.144, allocations: 39.98 kB / 487.7 MB, free: 14.79 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.001401/0.1454, allocations: 1.093 MB / 488.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1456, allocations: 55.91 kB / 488.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1456, allocations: 4 kB / 488.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.1457, allocations: 27.98 kB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.146, allocations: 15.94 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.0009315/0.1469, allocations: 0.5667 MB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1471, allocations: 0.6926 MB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.1472, allocations: 8 kB / 490.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.1473, allocations: 27.42 kB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1473, allocations: 3.938 kB / 490.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01419/0.1615, allocations: 2.761 MB / 493 MB, free: 9.711 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.1617, allocations: 240.4 kB / 493.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.887/2.048, allocations: 0 / 493.2 MB, free: 9.457 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat does not exist to compare? outputFormat=mat