Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001081/0.00108, allocations: 98.42 kB / 17.01 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001192, allocations: 192.2 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.448/1.448, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 45.91 MB / 344.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002485/0.0002485, allocations: 15.94 kB / 418.2 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1114, allocations: 63.47 MB / 481.6 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.001586/0.113, allocations: 1.307 MB / 483 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007227/0.1137, allocations: 495.3 kB / 483.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.1138, allocations: 3.938 kB / 483.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.1141, allocations: 127.8 kB / 483.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1143, allocations: 107.7 kB / 483.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1145, allocations: 95.81 kB / 483.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1146, allocations: 75.8 kB / 483.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.1147, allocations: 19.98 kB / 483.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.723e-05/0.1148, allocations: 39.83 kB / 483.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1149, allocations: 63.86 kB / 484 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1149, allocations: 7.922 kB / 484 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.37e-05/0.115, allocations: 35.98 kB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.1151, allocations: 23.92 kB / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.1151, allocations: 41.58 kB / 484.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.1152, allocations: 96.14 kB / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1153, allocations: 0 / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1153, allocations: 4 kB / 484.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1153, allocations: 0 / 484.2 MB, free: 2.715 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003992/0.1157, allocations: 418.7 kB / 484.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.1157, allocations: 8.031 kB / 484.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.329e-05/0.1158, allocations: 38.56 kB / 484.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.1158, allocations: 19.75 kB / 484.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.116, allocations: 202.8 kB / 484.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.116, allocations: 0 / 484.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.116, allocations: 8 kB / 484.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1161, allocations: 53.67 kB / 484.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1162, allocations: 0 / 484.9 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1162, allocations: 4 kB / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1162, allocations: 0 / 484.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1163, allocations: 31.97 kB / 484.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.1167, allocations: 324.5 kB / 485.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.436e-05/0.1168, allocations: 46.56 kB / 485.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.1169, allocations: 24.94 kB / 485.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.1169, allocations: 4.062 kB / 485.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1169, allocations: 38.56 kB / 485.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1169, allocations: 3.938 kB / 485.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008249/0.1178, allocations: 272.9 kB / 485.6 MB, free: 1.066 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1178, allocations: 51.41 kB / 485.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.1181, allocations: 275.8 kB / 485.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1181, allocations: 29.7 kB / 486 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.1182, allocations: 112.1 kB / 486.1 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.1182, allocations: 27.61 kB / 486.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-06/0.1182, allocations: 0 / 486.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1184, allocations: 330.8 kB / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.1185, allocations: 39.91 kB / 486.5 MB, free: 180 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.829e-05/0.1185, allocations: 35.98 kB / 486.5 MB, free: 144 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.1186, allocations: 31.98 kB / 486.5 MB, free: 112 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1186, allocations: 0 / 486.5 MB, free: 112 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000232/0.1189, allocations: 138.2 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1189, allocations: 4 kB / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1189, allocations: 0 / 486.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1189, allocations: 7.953 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.119, allocations: 15.98 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.119, allocations: 4 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.1191, allocations: 7.906 kB / 486.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1191, allocations: 4 kB / 486.7 MB, free: 15.92 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.0001109/0.1192, allocations: 141.8 kB / 486.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.1193, allocations: 11.89 kB / 486.9 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.1195, allocations: 146.9 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1196, allocations: 3.953 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1196, allocations: 8 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1196, allocations: 3.938 kB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.1201, allocations: 435.2 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1201, allocations: 4.031 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/0.1202, allocations: 19.95 kB / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1202, allocations: 0 / 487.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1202, allocations: 7.984 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1202, allocations: 4 kB / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1202, allocations: 0 / 487.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1205, allocations: 224.1 kB / 487.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.1205, allocations: 88.92 kB / 487.8 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.1206, allocations: 11.94 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.997e-05/0.1206, allocations: 8 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1207, allocations: 7.984 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.1207, allocations: 4 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1209, allocations: 212.2 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1209, allocations: 0 / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1211, allocations: 20 kB / 488.1 MB, free: 14.48 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 (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.001351/0.1225, allocations: 1.104 MB / 489.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002121/0.1227, allocations: 83.94 kB / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1227, allocations: 0 / 489.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.1228, allocations: 43.92 kB / 489.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1232, allocations: 23.98 kB / 489.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.1245, allocations: 0.937 MB / 490.2 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1248, allocations: 0.7193 MB / 491 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.369e-05/0.1249, allocations: 20.64 kB / 491 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.1249, allocations: 43.42 kB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.125, allocations: 0 / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.1394, allocations: 2.984 MB / 494 MB, free: 8.691 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.1397, allocations: 222.8 kB / 494.2 MB, free: 8.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/1.951, allocations: 3.938 kB / 494.2 MB, free: 8.441 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat does not exist to compare? outputFormat=mat