Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28",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.001326/0.001326, allocations: 180.5 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.494/1.494, allocations: 221.3 MB / 236 MB, free: 2.898 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.001431/0.001431, allocations: 91.98 kB / 287 MB, free: 176 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.2553/0.2553, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.776e-05/4.799e-05, allocations: 4.219 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.152, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.6022, allocations: 88.93 MB / 0.5886 GB, free: 292 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.6026, allocations: 71.97 kB / 0.5887 GB, free: 220 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0125/0.6152, allocations: 4.726 MB / 0.5933 GB, free: 11.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.12e-06/0.6152, allocations: 7.922 kB / 0.5933 GB, free: 11.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.6152, allocations: 0 / 0.5933 GB, free: 11.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004218/0.6157, allocations: 398.2 kB / 0.5937 GB, free: 11.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.6157, allocations: 12.03 kB / 0.5937 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.6158, allocations: 38.55 kB / 0.5938 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.6158, allocations: 7.906 kB / 0.5938 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.6161, allocations: 218.7 kB / 0.594 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.6161, allocations: 4 kB / 0.594 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.6161, allocations: 11.83 kB / 0.594 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.6163, allocations: 49.69 kB / 0.594 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6163, allocations: 4 kB / 0.594 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6163, allocations: 0 / 0.594 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6163, allocations: 0 / 0.594 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.6164, allocations: 31.92 kB / 0.5941 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.6169, allocations: 332.7 kB / 0.5944 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.6171, allocations: 54.58 kB / 0.5944 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.6171, allocations: 16.98 kB / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.6172, allocations: 0 / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.6172, allocations: 42.56 kB / 0.5945 GB, free: 10.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.6172, allocations: 0 / 0.5945 GB, free: 10.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006611/0.6179, allocations: 237 kB / 0.5947 GB, free: 9.891 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.6179, allocations: 51.41 kB / 0.5948 GB, free: 9.828 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.6181, allocations: 177.4 kB / 0.5949 GB, free: 9.648 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.6181, allocations: 29.7 kB / 0.595 GB, free: 9.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.6182, allocations: 108 kB / 0.5951 GB, free: 9.504 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.6182, allocations: 39.44 kB / 0.5951 GB, free: 9.465 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.6182, allocations: 4 kB / 0.5951 GB, free: 9.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6184, allocations: 322.8 kB / 0.5954 GB, free: 9.137 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.6184, allocations: 35.94 kB / 0.5955 GB, free: 9.102 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.6185, allocations: 43.92 kB / 0.5955 GB, free: 9.059 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.586e-05/0.6186, allocations: 38.61 kB / 0.5955 GB, free: 9.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6186, allocations: 4 kB / 0.5955 GB, free: 9.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001829/0.6188, allocations: 129.6 kB / 0.5957 GB, free: 8.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6188, allocations: 4 kB / 0.5957 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.6188, allocations: 0 / 0.5957 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6188, allocations: 4 kB / 0.5957 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.6189, allocations: 31.92 kB / 0.5957 GB, free: 8.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.619, allocations: 7.891 kB / 0.5957 GB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.262e-05/0.619, allocations: 15.98 kB / 0.5957 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.6191, allocations: 4 kB / 0.5957 GB, free: 8.82 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 (11): * Single equations (assignments): 11 * 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.389e-05/0.6192, allocations: 108.9 kB / 0.5958 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.6192, allocations: 19.8 kB / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.6195, allocations: 150.2 kB / 0.596 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.6195, allocations: 0 / 0.596 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6195, allocations: 0 / 0.596 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.6195, allocations: 3.953 kB / 0.596 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.6201, allocations: 480.1 kB / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6201, allocations: 0 / 0.5965 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.6202, allocations: 35.92 kB / 0.5965 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.6202, allocations: 3.953 kB / 0.5965 GB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6202, allocations: 4.359 kB / 0.5965 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.6202, allocations: 8.062 kB / 0.5965 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6202, allocations: 7.938 kB / 0.5965 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.6205, allocations: 253 kB / 0.5968 GB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.915e-05/0.6206, allocations: 97 kB / 0.5969 GB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.6206, allocations: 4 kB / 0.5969 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.6207, allocations: 15.98 kB / 0.5969 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.6207, allocations: 15.92 kB / 0.5969 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.6208, allocations: 4 kB / 0.5969 GB, free: 7.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001222/0.6209, allocations: 148.1 kB / 0.597 GB, free: 7.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6209, allocations: 0 / 0.597 GB, free: 7.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.6211, allocations: 31.94 kB / 0.5971 GB, free: 7.332 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.001361/0.6225, allocations: 1.245 MB / 0.5983 GB, free: 6.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.6227, allocations: 99.91 kB / 0.5984 GB, free: 6.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6227, allocations: 3.938 kB / 0.5984 GB, free: 6.066 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.588e-05/0.6228, allocations: 51.92 kB / 0.5984 GB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.623, allocations: 16.12 kB / 0.5984 GB, free: 6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.6237, allocations: 293.4 kB / 0.5987 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.6239, allocations: 0.7238 MB / 0.5994 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.801e-05/0.624, allocations: 40.38 kB / 0.5995 GB, free: 4.875 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.6241, allocations: 39.42 kB / 0.5995 GB, free: 4.836 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6241, allocations: 0 / 0.5995 GB, free: 4.836 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01425/0.6384, allocations: 3.021 MB / 0.6025 GB, free: 1.895 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.6386, allocations: 183 kB / 0.6026 GB, free: 1.672 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.25, allocations: 0 / 0.6026 GB, free: 1.672 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat does not exist to compare? outputFormat=mat