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.001395/0.001395, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 230.7 MB, free: 7.508 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.0009478/0.0009475, allocations: 99.98 kB / 281.6 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.233/0.233, allocations: 44.15 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.233e-05, allocations: 7.984 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.158, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.6103, allocations: 87.21 MB / 0.5799 GB, free: 9.152 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.6105, allocations: 75.95 kB / 0.58 GB, free: 9.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009652/0.6202, allocations: 3.646 MB / 0.5836 GB, free: 5.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6202, allocations: 0 / 0.5836 GB, free: 5.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.6203, allocations: 4 kB / 0.5836 GB, free: 5.438 MB / 394.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.0003491/0.6206, allocations: 374.4 kB / 0.5839 GB, free: 5.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.6207, allocations: 11.98 kB / 0.5839 GB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.6207, allocations: 7.906 kB / 0.5839 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.6209, allocations: 189.3 kB / 0.5841 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.621, allocations: 4 kB / 0.5841 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.621, allocations: 0 / 0.5841 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.453e-05/0.621, allocations: 15.95 kB / 0.5841 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.771e-05/0.6211, allocations: 45.62 kB / 0.5842 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.6212, allocations: 0 / 0.5842 GB, free: 4.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.6212, allocations: 4 kB / 0.5842 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6212, allocations: 0 / 0.5842 GB, free: 4.711 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.6215, allocations: 241.5 kB / 0.5844 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.6217, allocations: 46.45 kB / 0.5845 GB, free: 4.383 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/0.6217, allocations: 12.86 kB / 0.5845 GB, free: 4.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.6218, allocations: 7.938 kB / 0.5845 GB, free: 4.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.6218, allocations: 30.56 kB / 0.5845 GB, free: 4.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.6218, allocations: 0 / 0.5845 GB, free: 4.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004247/0.6222, allocations: 93.56 kB / 0.5846 GB, free: 4.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.6223, allocations: 51.41 kB / 0.5847 GB, free: 4.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.6224, allocations: 125.2 kB / 0.5848 GB, free: 4.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.6225, allocations: 29.64 kB / 0.5848 GB, free: 3.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.6225, allocations: 96.14 kB / 0.5849 GB, free: 3.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.6226, allocations: 19.7 kB / 0.5849 GB, free: 3.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.6226, allocations: 0.8438 kB / 0.5849 GB, free: 3.875 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6228, allocations: 318.8 kB / 0.5852 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.6228, allocations: 4 kB / 0.5852 GB, free: 3.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.732e-05/0.6228, allocations: 8 kB / 0.5852 GB, free: 3.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.13e-05/0.6229, allocations: 15.98 kB / 0.5852 GB, free: 3.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.6229, allocations: 0 / 0.5852 GB, free: 3.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.046e-05/0.623, allocations: 53.91 kB / 0.5853 GB, free: 3.469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.623, allocations: 15.98 kB / 0.5853 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.623, allocations: 4 kB / 0.5853 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.623, allocations: 3.938 kB / 0.5853 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.6231, allocations: 12 kB / 0.5853 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6231, allocations: 0 / 0.5853 GB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.6232, allocations: 7.984 kB / 0.5853 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.6232, allocations: 4 kB / 0.5853 GB, free: 3.422 MB / 394.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 9.341e-05/0.6233, allocations: 108.9 kB / 0.5854 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.975e-05/0.6234, allocations: 65.55 kB / 0.5855 GB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.6234, allocations: 4.047 kB / 0.5855 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.6236, allocations: 74.06 kB / 0.5856 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6236, allocations: 0 / 0.5856 GB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.6236, allocations: 4 kB / 0.5856 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.6236, allocations: 0 / 0.5856 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.624, allocations: 306.9 kB / 0.5859 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.624, allocations: 4 kB / 0.5859 GB, free: 2.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/0.6241, allocations: 15.98 kB / 0.5859 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6241, allocations: 7.938 kB / 0.5859 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.6241, allocations: 0 / 0.5859 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.6241, allocations: 0 / 0.5859 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6241, allocations: 0 / 0.5859 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.6243, allocations: 159.6 kB / 0.5861 GB, free: 2.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.6244, allocations: 85.08 kB / 0.5861 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.6244, allocations: 8 kB / 0.5861 GB, free: 2.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.6245, allocations: 7.984 kB / 0.5862 GB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.6245, allocations: 4 kB / 0.5862 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.6245, allocations: 0 / 0.5862 GB, free: 2.488 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.968e-05/0.6246, allocations: 109.2 kB / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6246, allocations: 0 / 0.5863 GB, free: 2.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000244/0.6249, allocations: 19.94 kB / 0.5863 GB, free: 2.363 MB / 394.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.001242/0.6261, allocations: 0.9269 MB / 0.5872 GB, free: 1.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.6263, allocations: 28 kB / 0.5872 GB, free: 1.457 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6263, allocations: 0 / 0.5872 GB, free: 1.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.004e-05/0.6263, allocations: 19.98 kB / 0.5872 GB, free: 1.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.6265, allocations: 8 kB / 0.5872 GB, free: 1.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.627, allocations: 153.1 kB / 0.5874 GB, free: 1.242 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.6273, allocations: 0.6962 MB / 0.5881 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.364e-05/0.6273, allocations: 8.125 kB / 0.5881 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.6274, allocations: 23.42 kB / 0.5881 GB, free: 496 kB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6274, allocations: 4 kB / 0.5881 GB, free: 492 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.6457, allocations: 1.708 MB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.6459, allocations: 160.2 kB / 0.5899 GB, free: 14.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.173, allocations: 4.031 kB / 0.5899 GB, free: 14.59 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