Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 101.6 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 191.8 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.464/1.464, allocations: 227.4 MB / 246 MB, free: 10.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2283/0.2283, allocations: 45.92 MB / 344.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002814, allocations: 8 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1134, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002075/0.1155, allocations: 1.346 MB / 483 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008259/0.1164, allocations: 0.4914 MB / 483.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.1164, allocations: 0 / 483.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1167, allocations: 95.73 kB / 483.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1169, allocations: 91.77 kB / 483.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.1172, allocations: 99.44 kB / 483.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1174, allocations: 95.72 kB / 483.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1175, allocations: 23.98 kB / 483.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.1176, allocations: 31.86 kB / 483.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.1177, allocations: 51.81 kB / 484 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1177, allocations: 0 / 484 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.1178, allocations: 43.97 kB / 484 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.1178, allocations: 23.92 kB / 484 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.1179, allocations: 37.64 kB / 484.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.118, allocations: 96.06 kB / 484.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1181, allocations: 0 / 484.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1181, allocations: 3.938 kB / 484.2 MB, free: 2.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1181, allocations: 3.938 kB / 484.2 MB, free: 2.699 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005014/0.1186, allocations: 418.8 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1186, allocations: 8.031 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.1187, allocations: 38.56 kB / 484.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.1187, allocations: 15.81 kB / 484.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1189, allocations: 207.2 kB / 484.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.119, allocations: 8 kB / 484.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.119, allocations: 4 kB / 484.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.1192, allocations: 81.59 kB / 484.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1192, allocations: 0 / 484.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1192, allocations: 4 kB / 484.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1192, allocations: 0 / 484.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1194, allocations: 47.97 kB / 485 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004777/0.1198, allocations: 356.6 kB / 485.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.12, allocations: 58.56 kB / 485.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.595e-05/0.1201, allocations: 32.84 kB / 485.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.1201, allocations: 3.938 kB / 485.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1201, allocations: 42.55 kB / 485.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1201, allocations: 0 / 485.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001068/0.1212, allocations: 365.3 kB / 485.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1213, allocations: 51.41 kB / 485.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.1215, allocations: 248.3 kB / 486.1 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1215, allocations: 25.7 kB / 486.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.109e-05/0.1216, allocations: 112 kB / 486.2 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-05/0.1217, allocations: 43.39 kB / 486.3 MB, free: 364 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/0.1217, allocations: 0 / 486.3 MB, free: 364 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1218, allocations: 326.8 kB / 486.6 MB, free: 28 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.1219, allocations: 47.97 kB / 486.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.122, allocations: 51.97 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1222, allocations: 51.97 kB / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1222, allocations: 0 / 486.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002768/0.1225, allocations: 184.8 kB / 486.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.1225, allocations: 4 kB / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1225, allocations: 0 / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1225, allocations: 0 / 486.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1226, allocations: 27.98 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1227, allocations: 0 / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.1227, allocations: 4 kB / 487 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1227, allocations: 11.98 kB / 487 MB, free: 15.65 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 (13): * Single equations (assignments): 13 * 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.0001092/0.1228, allocations: 137.8 kB / 487.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.1229, allocations: 15.77 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.1232, allocations: 195.1 kB / 487.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1232, allocations: 3.938 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1233, allocations: 4 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.1233, allocations: 3.938 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.1239, allocations: 0.4991 MB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1239, allocations: 4 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.918e-05/0.124, allocations: 31.92 kB / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.124, allocations: 0 / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.124, allocations: 4 kB / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.124, allocations: 0 / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.124, allocations: 0 / 487.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.1243, allocations: 268.1 kB / 488.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.68e-05/0.1244, allocations: 88.92 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1244, allocations: 4 kB / 488.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.1245, allocations: 11.98 kB / 488.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.1245, allocations: 23.86 kB / 488.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1246, allocations: 8 kB / 488.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1247, allocations: 177.2 kB / 488.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1247, allocations: 0 / 488.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.125, allocations: 28 kB / 488.5 MB, free: 14.05 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 (13): * Single equations (assignments): 13 * 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.1264, allocations: 1.144 MB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002721/0.1266, allocations: 119.9 kB / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1267, allocations: 0 / 489.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.1268, allocations: 67.97 kB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1271, allocations: 16.17 kB / 489.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.1286, allocations: 0.9784 MB / 490.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1289, allocations: 0.7274 MB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.001e-05/0.1289, allocations: 24.48 kB / 491.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.129, allocations: 43.42 kB / 491.6 MB, free: 11 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.129, allocations: 3.938 kB / 491.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.1425, allocations: 3.127 MB / 494.7 MB, free: 7.98 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.1427, allocations: 218.6 kB / 494.9 MB, free: 7.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.057, allocations: 0 / 494.9 MB, free: 7.738 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat does not exist to compare? outputFormat=mat