Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008345/0.0008346, allocations: 93.7 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008409/0.0008409, allocations: 193.3 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2184/0.2184, allocations: 45.91 MB / 344.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003199/0.0003201, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 63.45 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002286/0.1396, allocations: 1.314 MB / 483 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001764/0.1414, allocations: 1.066 MB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.1415, allocations: 4 kB / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.1418, allocations: 15.92 kB / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.142, allocations: 67.75 kB / 484.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.1423, allocations: 83.77 kB / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1424, allocations: 59.84 kB / 484.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1425, allocations: 19.98 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.401e-05/0.1426, allocations: 27.86 kB / 484.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1428, allocations: 27.84 kB / 484.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1428, allocations: 7.938 kB / 484.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.1429, allocations: 79.94 kB / 484.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.736e-05/0.143, allocations: 15.92 kB / 484.4 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.143, allocations: 33.64 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.1432, allocations: 112.1 kB / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1432, allocations: 0 / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1433, allocations: 0 / 484.6 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1433, allocations: 0 / 484.6 MB, free: 2.328 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005914/0.1439, allocations: 399 kB / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/0.1439, allocations: 8.031 kB / 485 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.144, allocations: 34.56 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.144, allocations: 11.89 kB / 485 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.1443, allocations: 194.8 kB / 485.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1443, allocations: 4 kB / 485.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.1444, allocations: 0 / 485.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.1446, allocations: 79.39 kB / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1446, allocations: 0 / 485.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1446, allocations: 4 kB / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1446, allocations: 0 / 485.3 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1447, allocations: 35.95 kB / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.1452, allocations: 312.6 kB / 485.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.1453, allocations: 54.55 kB / 485.7 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.1454, allocations: 16.86 kB / 485.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1454, allocations: 3.938 kB / 485.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1454, allocations: 42.61 kB / 485.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1454, allocations: 8 kB / 485.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006091/0.146, allocations: 185.2 kB / 485.9 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.1461, allocations: 81.11 kB / 486 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1463, allocations: 152.3 kB / 486.2 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.1463, allocations: 25.7 kB / 486.2 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.003e-05/0.1464, allocations: 96.05 kB / 486.3 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1465, allocations: 31.7 kB / 486.3 MB, free: 372 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.1465, allocations: 4 kB / 486.3 MB, free: 368 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1467, allocations: 322.8 kB / 486.6 MB, free: 36 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.1468, allocations: 27.98 kB / 486.6 MB, free: 8 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.1469, allocations: 49.7 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.147, allocations: 27.98 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1471, allocations: 0 / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002167/0.1473, allocations: 109.6 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.1473, allocations: 7.938 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1473, allocations: 0 / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1473, allocations: 3.953 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1474, allocations: 19.98 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1475, allocations: 0 / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.1475, allocations: 12 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1475, allocations: 4 kB / 486.9 MB, free: 15.77 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 (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.0001135/0.1477, allocations: 121.8 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1477, allocations: 7.906 kB / 487 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.148, allocations: 126.2 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.148, allocations: 3.984 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.148, allocations: 7.953 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.148, allocations: 0 / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.1485, allocations: 394.5 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1485, allocations: 0 / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.084e-05/0.1486, allocations: 23.92 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1486, allocations: 3.953 kB / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1486, allocations: 0 / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1486, allocations: 400 / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1487, allocations: 0 / 487.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1489, allocations: 215.4 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.149, allocations: 89 kB / 487.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.149, allocations: 7.938 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.1491, allocations: 8.375 kB / 487.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1491, allocations: 7.984 kB / 487.9 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1491, allocations: 12 kB / 487.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.783e-05/0.1493, allocations: 118 kB / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1493, allocations: 0 / 488 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.1496, allocations: 47.92 kB / 488 MB, free: 14.5 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 (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.001589/0.1512, allocations: 1.108 MB / 489.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1514, allocations: 71.91 kB / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1514, allocations: 0 / 489.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.1515, allocations: 44.12 kB / 489.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1519, allocations: 16.11 kB / 489.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.153, allocations: 0.637 MB / 489.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1533, allocations: 0.7004 MB / 490.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.249e-05/0.1534, allocations: 16.42 kB / 490.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.1535, allocations: 31.61 kB / 490.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1535, allocations: 0 / 490.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.17, allocations: 2.936 MB / 493.6 MB, free: 9.117 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000196/0.1703, allocations: 236.7 kB / 493.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.885/2.056, allocations: 0 / 493.8 MB, free: 8.863 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat does not exist to compare? outputFormat=mat