Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",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.001371/0.001371, allocations: 174.4 kB / 8.74 MB, free: 348 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.511/1.511, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.000976/0.0009762, allocations: 86.23 kB / 281.6 MB, free: 5.316 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.2311/0.2311, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.145e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1508, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.5139, allocations: 87.32 MB / 0.58 GB, free: 9.008 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.5141, allocations: 67.97 kB / 0.5801 GB, free: 8.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009425/0.5236, allocations: 3.665 MB / 0.5837 GB, free: 5.289 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.5236, allocations: 0.8438 kB / 0.5837 GB, free: 5.289 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.5236, allocations: 4 kB / 0.5837 GB, free: 5.285 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.0002955/0.5239, allocations: 359.8 kB / 0.584 GB, free: 4.891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.524, allocations: 15.98 kB / 0.584 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.524, allocations: 3.906 kB / 0.5841 GB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.5242, allocations: 198.9 kB / 0.5842 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.5242, allocations: 0 / 0.5842 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.5243, allocations: 4 kB / 0.5842 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.277e-05/0.5243, allocations: 15.95 kB / 0.5843 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.089e-05/0.5244, allocations: 49.56 kB / 0.5843 GB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.5244, allocations: 4 kB / 0.5843 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.5244, allocations: 0 / 0.5843 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.5244, allocations: 0 / 0.5843 GB, free: 4.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.5248, allocations: 257.4 kB / 0.5846 GB, free: 4.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.5249, allocations: 42.52 kB / 0.5846 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.525, allocations: 16.8 kB / 0.5846 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.525, allocations: 0 / 0.5846 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.525, allocations: 38.59 kB / 0.5847 GB, free: 4.152 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.525, allocations: 0 / 0.5847 GB, free: 4.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003264/0.5253, allocations: 101.5 kB / 0.5847 GB, free: 4.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.5254, allocations: 51.41 kB / 0.5848 GB, free: 3.984 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.5255, allocations: 135 kB / 0.5849 GB, free: 3.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.5255, allocations: 25.7 kB / 0.585 GB, free: 3.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.5255, allocations: 92.14 kB / 0.585 GB, free: 3.719 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.5256, allocations: 19.72 kB / 0.5851 GB, free: 3.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.5256, allocations: 0 / 0.5851 GB, free: 3.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.5257, allocations: 318.8 kB / 0.5854 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.5257, allocations: 15.94 kB / 0.5854 GB, free: 3.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.003e-05/0.5257, allocations: 11.98 kB / 0.5854 GB, free: 3.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.798e-05/0.5258, allocations: 12 kB / 0.5854 GB, free: 3.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.5258, allocations: 4 kB / 0.5854 GB, free: 3.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.287e-05/0.5259, allocations: 65.64 kB / 0.5855 GB, free: 3.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5259, allocations: 5.406 kB / 0.5855 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.5259, allocations: 0 / 0.5855 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.5259, allocations: 0 / 0.5855 GB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.526, allocations: 15.98 kB / 0.5855 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.526, allocations: 0 / 0.5855 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.5261, allocations: 4 kB / 0.5855 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.5261, allocations: 11.98 kB / 0.5855 GB, free: 3.23 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 5.744e-05/0.5261, allocations: 101 kB / 0.5856 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.797e-05/0.5262, allocations: 73.48 kB / 0.5857 GB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.5263, allocations: 7.906 kB / 0.5857 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.5264, allocations: 78.06 kB / 0.5857 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5264, allocations: 0 / 0.5857 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.5264, allocations: 0 / 0.5857 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5264, allocations: 0 / 0.5857 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.5267, allocations: 319 kB / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5267, allocations: 448 / 0.5861 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.5268, allocations: 15.98 kB / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5268, allocations: 0 / 0.5861 GB, free: 2.586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5268, allocations: 11.94 kB / 0.5861 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5268, allocations: 3.938 kB / 0.5861 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5268, allocations: 0 / 0.5861 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.527, allocations: 167.4 kB / 0.5862 GB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.527, allocations: 85 kB / 0.5863 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.527, allocations: 4 kB / 0.5863 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.5271, allocations: 4 kB / 0.5863 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.5271, allocations: 3.984 kB / 0.5863 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.5272, allocations: 4 kB / 0.5863 GB, free: 2.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.343e-05/0.5272, allocations: 105.4 kB / 0.5864 GB, free: 2.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5272, allocations: 0 / 0.5864 GB, free: 2.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.5275, allocations: 23.94 kB / 0.5865 GB, free: 2.148 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.0009238/0.5284, allocations: 0.9336 MB / 0.5874 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.681e-05/0.5285, allocations: 35.94 kB / 0.5874 GB, free: 1.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.5285, allocations: 0 / 0.5874 GB, free: 1.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.5285, allocations: 19.98 kB / 0.5874 GB, free: 1.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.5287, allocations: 13.86 kB / 0.5874 GB, free: 1.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.5291, allocations: 153.2 kB / 0.5876 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.5293, allocations: 0.7001 MB / 0.5883 GB, free: 288 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.583e-05/0.5294, allocations: 16.17 kB / 0.5883 GB, free: 268 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.5295, allocations: 23.38 kB / 0.5883 GB, free: 244 kB / 394.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5295, allocations: 0 / 0.5883 GB, free: 244 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.5481, allocations: 1.735 MB / 0.59 GB, free: 14.51 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.5484, allocations: 160.2 kB / 0.5902 GB, free: 14.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.218, allocations: 4.031 kB / 0.5902 GB, free: 14.32 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat does not exist to compare? outputFormat=mat