Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009318/0.0009319, allocations: 94.02 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2331/0.2331, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.176e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1456, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5147/0.6604, allocations: 87.87 MB / 0.5876 GB, free: 1.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.6606, allocations: 75.94 kB / 0.5877 GB, free: 1.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.6718, allocations: 3.682 MB / 0.5913 GB, free: 13.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.6719, allocations: 0 / 0.5913 GB, free: 13.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.6719, allocations: 0 / 0.5913 GB, free: 13.65 MB / 410.7 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.0004672/0.6724, allocations: 362.5 kB / 0.5916 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.6724, allocations: 12.03 kB / 0.5916 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.6725, allocations: 34.56 kB / 0.5917 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.6725, allocations: 7.906 kB / 0.5917 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.6728, allocations: 190.8 kB / 0.5919 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.6728, allocations: 4 kB / 0.5919 GB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.6728, allocations: 7.953 kB / 0.5919 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.6729, allocations: 45.7 kB / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.673, allocations: 0 / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.673, allocations: 0 / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.673, allocations: 0 / 0.5919 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.348e-05/0.673, allocations: 15.98 kB / 0.5919 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.6734, allocations: 280.8 kB / 0.5922 GB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.6736, allocations: 38.56 kB / 0.5922 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.054e-05/0.6737, allocations: 12.8 kB / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.6737, allocations: 0 / 0.5922 GB, free: 12.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.6738, allocations: 34.56 kB / 0.5923 GB, free: 12.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6738, allocations: 0 / 0.5923 GB, free: 12.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004444/0.6742, allocations: 105.5 kB / 0.5924 GB, free: 12.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.6743, allocations: 51.41 kB / 0.5924 GB, free: 12.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.6744, allocations: 134.3 kB / 0.5926 GB, free: 12.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.6745, allocations: 25.7 kB / 0.5926 GB, free: 12.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.6745, allocations: 100.1 kB / 0.5927 GB, free: 12.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.6746, allocations: 11.72 kB / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.6746, allocations: 0 / 0.5927 GB, free: 12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6747, allocations: 326.8 kB / 0.593 GB, free: 11.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.6748, allocations: 12 kB / 0.593 GB, free: 11.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.6748, allocations: 15.94 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.256e-05/0.6749, allocations: 8 kB / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.6749, allocations: 0 / 0.593 GB, free: 11.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.898e-05/0.675, allocations: 57.69 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.675, allocations: 8 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.675, allocations: 0 / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.675, allocations: 0 / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.6751, allocations: 12 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6751, allocations: 7.984 kB / 0.5931 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.085e-05/0.6752, allocations: 4 kB / 0.5931 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.6752, allocations: 0 / 0.5931 GB, free: 11.54 MB / 410.7 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 () * 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 7.012e-05/0.6753, allocations: 116.9 kB / 0.5932 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.6753, allocations: 11.84 kB / 0.5932 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.6755, allocations: 73.67 kB / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.6755, allocations: 0 / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6755, allocations: 0 / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6755, allocations: 4.453 kB / 0.5933 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.6758, allocations: 334.5 kB / 0.5936 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.6758, allocations: 3.984 kB / 0.5936 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.6759, allocations: 12 kB / 0.5936 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.6759, allocations: 0 / 0.5936 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.6759, allocations: 0 / 0.5936 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6759, allocations: 7.922 kB / 0.5937 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.6759, allocations: 0 / 0.5937 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.6761, allocations: 167.4 kB / 0.5938 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.6761, allocations: 81.11 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.6762, allocations: 4 kB / 0.5939 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.6762, allocations: 7.984 kB / 0.5939 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.6763, allocations: 7.938 kB / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.6763, allocations: 0 / 0.5939 GB, free: 10.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.041e-05/0.6764, allocations: 114.4 kB / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6764, allocations: 0 / 0.594 GB, free: 10.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.6766, allocations: 23.94 kB / 0.594 GB, free: 10.49 MB / 410.7 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 () * 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.001151/0.6778, allocations: 0.9536 MB / 0.595 GB, free: 9.625 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.6779, allocations: 31.94 kB / 0.595 GB, free: 9.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6779, allocations: 4 kB / 0.595 GB, free: 9.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.678, allocations: 12 kB / 0.595 GB, free: 9.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.6782, allocations: 15.98 kB / 0.595 GB, free: 9.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.6786, allocations: 162.5 kB / 0.5952 GB, free: 9.371 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.679, allocations: 0.6926 MB / 0.5959 GB, free: 8.652 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.6791, allocations: 12.44 kB / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.6791, allocations: 23.42 kB / 0.5959 GB, free: 8.613 MB / 410.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6791, allocations: 0 / 0.5959 GB, free: 8.613 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.692, allocations: 2.015 MB / 0.5979 GB, free: 6.68 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.6922, allocations: 193.9 kB / 0.5981 GB, free: 6.445 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.327, allocations: 4 kB / 0.5981 GB, free: 6.441 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat does not exist to compare? outputFormat=mat