Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.001283/0.001284, allocations: 169.1 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.433/1.433, allocations: 221.5 MB / 230.7 MB, free: 7.504 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.0008544/0.0008543, allocations: 96.44 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.2008/0.2008, allocations: 44.15 MB / 376.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.238e-05, allocations: 16.14 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1283, allocations: 61.91 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.5217, allocations: 88.56 MB / 0.5813 GB, free: 7.855 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/0.5222, allocations: 78.36 kB / 0.5813 GB, free: 7.781 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01649/0.5387, allocations: 5.853 MB / 0.587 GB, free: 1.945 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5387, allocations: 0 / 0.587 GB, free: 1.945 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.5387, allocations: 0 / 0.587 GB, free: 1.945 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.0004834/0.5392, allocations: 418.1 kB / 0.5874 GB, free: 1.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.5393, allocations: 11.98 kB / 0.5875 GB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.5393, allocations: 15.89 kB / 0.5875 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.5397, allocations: 238.2 kB / 0.5877 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.5397, allocations: 7.953 kB / 0.5877 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.5397, allocations: 0 / 0.5877 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.588e-05/0.5398, allocations: 19.94 kB / 0.5877 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.294e-05/0.5399, allocations: 49.67 kB / 0.5878 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5399, allocations: 0 / 0.5878 GB, free: 1.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.5399, allocations: 3.938 kB / 0.5878 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.54, allocations: 0 / 0.5878 GB, free: 1.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.5404, allocations: 289.4 kB / 0.5881 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.865e-05/0.5405, allocations: 50.69 kB / 0.5881 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.803e-05/0.5405, allocations: 20.92 kB / 0.5881 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.5405, allocations: 4 kB / 0.5881 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.5407, allocations: 63.39 kB / 0.5882 GB, free: 0.625 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.5407, allocations: 4 kB / 0.5882 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004303/0.5411, allocations: 149.1 kB / 0.5883 GB, free: 480 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.5412, allocations: 55.41 kB / 0.5884 GB, free: 412 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.5414, allocations: 222.1 kB / 0.5886 GB, free: 180 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.5414, allocations: 25.7 kB / 0.5886 GB, free: 148 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.5415, allocations: 112.1 kB / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.5415, allocations: 31.62 kB / 0.5888 GB, free: 0 / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.5415, allocations: 0 / 0.5888 GB, free: 0 / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.5417, allocations: 326.8 kB / 0.5891 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.5417, allocations: 16 kB / 0.5891 GB, free: 15.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.022e-05/0.5418, allocations: 33.7 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.5418, allocations: 23.95 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.5418, allocations: 0 / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001442/0.542, allocations: 101.4 kB / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.542, allocations: 8 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.542, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.542, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.5422, allocations: 20.2 kB / 0.5893 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5422, allocations: 4 kB / 0.5893 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.5422, allocations: 7.922 kB / 0.5893 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.5422, allocations: 4.188 kB / 0.5893 GB, free: 15.45 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.631e-05/0.5423, allocations: 110.3 kB / 0.5894 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001533/0.5425, allocations: 101.5 kB / 0.5895 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.5425, allocations: 15.81 kB / 0.5895 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.5427, allocations: 119.7 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5427, allocations: 4 kB / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5428, allocations: 0 / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5428, allocations: 0 / 0.5896 GB, free: 15.08 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.5432, allocations: 403.8 kB / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5432, allocations: 3.938 kB / 0.59 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.5433, allocations: 12 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5433, allocations: 3.984 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.5433, allocations: 0 / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5433, allocations: 4.031 kB / 0.59 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.5433, allocations: 4 kB / 0.59 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.5435, allocations: 218 kB / 0.5902 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.321e-05/0.5436, allocations: 100.9 kB / 0.5903 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.5436, allocations: 0 / 0.5903 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.5437, allocations: 4 kB / 0.5903 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.5438, allocations: 19.94 kB / 0.5904 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.5438, allocations: 0 / 0.5904 GB, free: 14.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.5439, allocations: 192.2 kB / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5439, allocations: 0 / 0.5905 GB, free: 14.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.5442, allocations: 31.94 kB / 0.5906 GB, free: 14.02 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.001257/0.5455, allocations: 1.114 MB / 0.5917 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.5456, allocations: 48 kB / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5456, allocations: 0 / 0.5917 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/0.5457, allocations: 27.94 kB / 0.5917 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.546, allocations: 36.8 kB / 0.5918 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.5466, allocations: 283.6 kB / 0.592 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.5469, allocations: 0.7197 MB / 0.5927 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.547, allocations: 28.66 kB / 0.5928 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/0.5471, allocations: 47.41 kB / 0.5928 GB, free: 11.7 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5471, allocations: 0 / 0.5928 GB, free: 11.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.5681, allocations: 3.06 MB / 0.5958 GB, free: 8.652 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.5683, allocations: 167.2 kB / 0.596 GB, free: 8.461 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.15, allocations: 0 / 0.596 GB, free: 8.461 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat