Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.000985/0.0009852, allocations: 102.3 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.0008987/0.0008988, allocations: 193.1 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.402/1.402, allocations: 227.4 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 45.92 MB / 344.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1207, allocations: 63.46 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002148/0.1229, allocations: 1.299 MB / 482.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.1245, allocations: 1.082 MB / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.1245, allocations: 0 / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1248, allocations: 27.91 kB / 484 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.125, allocations: 63.77 kB / 484.1 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.1253, allocations: 91.33 kB / 484.2 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1255, allocations: 59.83 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1256, allocations: 11.98 kB / 484.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.342e-05/0.1256, allocations: 23.86 kB / 484.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1258, allocations: 27.92 kB / 484.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1258, allocations: 3.984 kB / 484.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.126, allocations: 79.89 kB / 484.4 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.126, allocations: 19.91 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.1261, allocations: 29.7 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.1263, allocations: 104.1 kB / 484.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1263, allocations: 0 / 484.5 MB, free: 2.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1263, allocations: 3.938 kB / 484.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1263, allocations: 0 / 484.5 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005032/0.1268, allocations: 391.1 kB / 484.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1269, allocations: 12.03 kB / 484.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.1269, allocations: 30.56 kB / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1269, allocations: 7.906 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.1272, allocations: 190.8 kB / 485.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.1272, allocations: 4 kB / 485.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1272, allocations: 4 kB / 485.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1274, allocations: 75.33 kB / 485.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1274, allocations: 3.938 kB / 485.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1274, allocations: 0 / 485.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1274, allocations: 0 / 485.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.1275, allocations: 23.98 kB / 485.3 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.1279, allocations: 292.9 kB / 485.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.1281, allocations: 54.48 kB / 485.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.1282, allocations: 12.86 kB / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.1282, allocations: 0 / 485.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.1282, allocations: 30.56 kB / 485.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1282, allocations: 4 kB / 485.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005929/0.1288, allocations: 169.3 kB / 485.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1289, allocations: 85.06 kB / 485.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1291, allocations: 144.4 kB / 486 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1291, allocations: 33.69 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.1292, allocations: 88.14 kB / 486.2 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.1292, allocations: 15.81 kB / 486.2 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-06/0.1292, allocations: 0 / 486.2 MB, free: 480 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1293, allocations: 318.8 kB / 486.5 MB, free: 152 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/0.1294, allocations: 27.98 kB / 486.5 MB, free: 124 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.1295, allocations: 41.69 kB / 486.6 MB, free: 76 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.1296, allocations: 27.98 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1296, allocations: 0 / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002049/0.1298, allocations: 97.55 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1298, allocations: 4 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1298, allocations: 0 / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1298, allocations: 4 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.535e-05/0.1299, allocations: 15.98 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1299, allocations: 3.953 kB / 486.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.13, allocations: 11.98 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.13, allocations: 256 / 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 9.697e-05/0.1301, allocations: 113.8 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.1301, allocations: 7.906 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.1304, allocations: 125.8 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1304, allocations: 0 / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1304, allocations: 3.938 kB / 487 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1304, allocations: 3.953 kB / 487 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.1309, allocations: 366.8 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1309, allocations: 3.984 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-05/0.131, allocations: 12 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.131, allocations: 3.938 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.131, allocations: 0 / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.131, allocations: 3.953 kB / 487.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.131, allocations: 7.984 kB / 487.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1312, allocations: 183.5 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.1313, allocations: 93 kB / 487.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1313, allocations: 0 / 487.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.1314, allocations: 7.984 kB / 487.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.1314, allocations: 7.953 kB / 487.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1314, allocations: 0 / 487.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.038e-05/0.1315, allocations: 119.2 kB / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1315, allocations: 0 / 487.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.1318, allocations: 32 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.001495/0.1333, allocations: 1.123 MB / 488.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.1336, allocations: 55.97 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1336, allocations: 0 / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.1337, allocations: 39.91 kB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.134, allocations: 15.95 kB / 489 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.135, allocations: 0.5746 MB / 489.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1353, allocations: 0.6926 MB / 490.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.158e-05/0.1354, allocations: 20.12 kB / 490.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.1354, allocations: 27.42 kB / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1354, allocations: 0 / 490.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.15, allocations: 2.789 MB / 493.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002099/0.1502, allocations: 236.3 kB / 493.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.075, allocations: 0 / 493.4 MB, free: 9.328 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat does not exist to compare? outputFormat=mat