Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_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.0009988/0.0009988, allocations: 173.7 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.668/1.668, allocations: 221.5 MB / 230.7 MB, free: 7.535 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.0009655/0.0009656, allocations: 98.11 kB / 281.6 MB, free: 5.281 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.2087/0.2087, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.233e-05, allocations: 12 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 61.92 MB / 0.4948 GB, free: 1.172 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4342/0.5688, allocations: 88.56 MB / 0.5813 GB, free: 7.926 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.5691, allocations: 74.5 kB / 0.5813 GB, free: 7.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01478/0.5839, allocations: 5.823 MB / 0.587 GB, free: 2.043 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.5839, allocations: 4 kB / 0.587 GB, free: 2.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.584, allocations: 0 / 0.587 GB, free: 2.039 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004306/0.5844, allocations: 422.1 kB / 0.5874 GB, free: 1.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.5845, allocations: 15.98 kB / 0.5874 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.5845, allocations: 7.906 kB / 0.5874 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.5848, allocations: 234.2 kB / 0.5877 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.5848, allocations: 7.953 kB / 0.5877 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.5849, allocations: 0 / 0.5877 GB, free: 1.281 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.86e-05/0.5849, allocations: 19.98 kB / 0.5877 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.585, allocations: 61.61 kB / 0.5877 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5851, allocations: 0 / 0.5877 GB, free: 1.195 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.5851, allocations: 3.938 kB / 0.5878 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.5851, allocations: 0 / 0.5878 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003473/0.5854, allocations: 289.3 kB / 0.588 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.5856, allocations: 50.69 kB / 0.5881 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.5856, allocations: 16.98 kB / 0.5881 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.5856, allocations: 0 / 0.5881 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.5858, allocations: 71.33 kB / 0.5882 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.5858, allocations: 4 kB / 0.5882 GB, free: 0.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003982/0.5862, allocations: 149.2 kB / 0.5883 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.5862, allocations: 55.34 kB / 0.5884 GB, free: 500 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.5864, allocations: 226.1 kB / 0.5886 GB, free: 264 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.5865, allocations: 30.45 kB / 0.5886 GB, free: 228 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/0.5865, allocations: 104.1 kB / 0.5887 GB, free: 120 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.5866, allocations: 27.64 kB / 0.5887 GB, free: 92 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.5866, allocations: 4 kB / 0.5887 GB, free: 88 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5867, allocations: 330.8 kB / 0.5891 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-05/0.5867, allocations: 16 kB / 0.5891 GB, free: 15.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.61e-05/0.5868, allocations: 33.66 kB / 0.5891 GB, free: 15.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.167e-05/0.5868, allocations: 23.94 kB / 0.5891 GB, free: 15.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5868, allocations: 0 / 0.5891 GB, free: 15.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001369/0.587, allocations: 101.4 kB / 0.5892 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.587, allocations: 7.984 kB / 0.5892 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.587, allocations: 4 kB / 0.5892 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.587, allocations: 4.031 kB / 0.5892 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.5871, allocations: 12 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.5871, allocations: 0 / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.5872, allocations: 4 kB / 0.5892 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5872, allocations: 7.984 kB / 0.5893 GB, free: 15.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.523e-05/0.5873, allocations: 108.9 kB / 0.5894 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001393/0.5874, allocations: 97.5 kB / 0.5895 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.5875, allocations: 19.8 kB / 0.5895 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.5877, allocations: 111.5 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5877, allocations: 4 kB / 0.5896 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.5877, allocations: 3.984 kB / 0.5896 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5877, allocations: 0 / 0.5896 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.5881, allocations: 404 kB / 0.59 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5881, allocations: 3.938 kB / 0.59 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.5881, allocations: 8 kB / 0.59 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5881, allocations: 4 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.5882, allocations: 4.219 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5882, allocations: 4 kB / 0.59 GB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.5882, allocations: 3.984 kB / 0.59 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.5884, allocations: 222 kB / 0.5902 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.5884, allocations: 96.92 kB / 0.5903 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.5885, allocations: 4.375 kB / 0.5903 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.5886, allocations: 11.98 kB / 0.5903 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.5886, allocations: 7.953 kB / 0.5903 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.5886, allocations: 3.984 kB / 0.5903 GB, free: 14.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.5888, allocations: 196.2 kB / 0.5905 GB, free: 14.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5888, allocations: 0 / 0.5905 GB, free: 14.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002564/0.589, allocations: 31.94 kB / 0.5905 GB, free: 14.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001197/0.5902, allocations: 1.107 MB / 0.5916 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.5904, allocations: 51.98 kB / 0.5917 GB, free: 13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5904, allocations: 3.938 kB / 0.5917 GB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.322e-05/0.5904, allocations: 35.92 kB / 0.5917 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.5907, allocations: 27.72 kB / 0.5917 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005594/0.5913, allocations: 283.6 kB / 0.592 GB, free: 12.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.5915, allocations: 0.7196 MB / 0.5927 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.055e-05/0.5916, allocations: 28.7 kB / 0.5927 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.5917, allocations: 43.42 kB / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5917, allocations: 0 / 0.5928 GB, free: 11.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.6125, allocations: 3.062 MB / 0.5958 GB, free: 8.738 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/0.6127, allocations: 162 kB / 0.5959 GB, free: 8.551 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.206, allocations: 0 / 0.5959 GB, free: 8.551 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat