Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001857/0.001858, allocations: 183.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2377/0.2377, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 15.98 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1315, allocations: 58.85 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.5194, allocations: 87.68 MB / 0.5645 GB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5197, allocations: 74.59 kB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01454/0.5343, allocations: 5.276 MB / 0.5697 GB, free: 7.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5343, allocations: 0 / 0.5697 GB, free: 7.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.5344, allocations: 3.984 kB / 0.5697 GB, free: 7.504 MB / 378.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.0005077/0.5349, allocations: 421.9 kB / 0.5701 GB, free: 7.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5349, allocations: 12.03 kB / 0.5701 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.535, allocations: 34.55 kB / 0.5702 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.535, allocations: 11.84 kB / 0.5702 GB, free: 6.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.5353, allocations: 218.1 kB / 0.5704 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.5353, allocations: 0 / 0.5704 GB, free: 6.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.5354, allocations: 7.625 kB / 0.5704 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.5355, allocations: 52.17 kB / 0.5704 GB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5355, allocations: 0 / 0.5704 GB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.5355, allocations: 4 kB / 0.5704 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.5355, allocations: 0 / 0.5704 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.5356, allocations: 23.41 kB / 0.5705 GB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.536, allocations: 304.6 kB / 0.5708 GB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.5362, allocations: 56.61 kB / 0.5708 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.5362, allocations: 4 kB / 0.5708 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.5364, allocations: 65.89 kB / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5364, allocations: 0 / 0.5709 GB, free: 6.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005563/0.5369, allocations: 177.7 kB / 0.571 GB, free: 6.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.537, allocations: 55.34 kB / 0.5711 GB, free: 6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.5371, allocations: 176.1 kB / 0.5713 GB, free: 5.844 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5372, allocations: 25.7 kB / 0.5713 GB, free: 5.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.5372, allocations: 102.8 kB / 0.5714 GB, free: 5.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.5373, allocations: 31.06 kB / 0.5714 GB, free: 5.695 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.5373, allocations: 0 / 0.5714 GB, free: 5.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5374, allocations: 326.1 kB / 0.5717 GB, free: 5.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.499e-05/0.5375, allocations: 23.05 kB / 0.5717 GB, free: 5.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.5375, allocations: 36.95 kB / 0.5718 GB, free: 5.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.188e-05/0.5376, allocations: 27.38 kB / 0.5718 GB, free: 5.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5376, allocations: 0 / 0.5718 GB, free: 5.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.5378, allocations: 105.5 kB / 0.5719 GB, free: 5.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5378, allocations: 11.44 kB / 0.5719 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5378, allocations: 0 / 0.5719 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.5378, allocations: 0 / 0.5719 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.5379, allocations: 15.98 kB / 0.5719 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.538, allocations: 7.953 kB / 0.5719 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.538, allocations: 0 / 0.5719 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.538, allocations: 7.125 kB / 0.572 GB, free: 5.18 MB / 378.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 () * Number of clocked 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 9.866e-05/0.5381, allocations: 136.3 kB / 0.5721 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.5382, allocations: 11.91 kB / 0.5721 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/0.5384, allocations: 122.8 kB / 0.5722 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5384, allocations: 0 / 0.5722 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5384, allocations: 4 kB / 0.5722 GB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5384, allocations: 3.953 kB / 0.5722 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.5389, allocations: 412.7 kB / 0.5726 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.5389, allocations: 0 / 0.5726 GB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.5389, allocations: 11.98 kB / 0.5726 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.5389, allocations: 7.984 kB / 0.5726 GB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.539, allocations: 3.188 kB / 0.5726 GB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.539, allocations: 7.891 kB / 0.5726 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.539, allocations: 4 kB / 0.5726 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.5392, allocations: 214.4 kB / 0.5728 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.5393, allocations: 95.75 kB / 0.5729 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.5393, allocations: 3.953 kB / 0.5729 GB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.5394, allocations: 6.938 kB / 0.5729 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.5394, allocations: 7.984 kB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.5394, allocations: 4 kB / 0.573 GB, free: 4.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.5396, allocations: 143 kB / 0.5731 GB, free: 3.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5396, allocations: 4 kB / 0.5731 GB, free: 3.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002579/0.5398, allocations: 39.91 kB / 0.5731 GB, free: 3.957 MB / 378.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) * Number of clocked states: 0 () * 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.001435/0.5413, allocations: 1.197 MB / 0.5743 GB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.5415, allocations: 59.09 kB / 0.5744 GB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5415, allocations: 3.938 kB / 0.5744 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.5416, allocations: 35.62 kB / 0.5744 GB, free: 2.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.5418, allocations: 23.67 kB / 0.5744 GB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.5429, allocations: 0.8676 MB / 0.5753 GB, free: 1.863 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.5432, allocations: 0.7119 MB / 0.576 GB, free: 1.129 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.5432, allocations: 20.55 kB / 0.576 GB, free: 1.109 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.5433, allocations: 34.3 kB / 0.576 GB, free: 1.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5433, allocations: 112 / 0.576 GB, free: 1.09 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.558, allocations: 2.999 MB / 0.5789 GB, free: 14.12 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/0.5582, allocations: 213.8 kB / 0.5792 GB, free: 13.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.073, allocations: 0 / 0.5792 GB, free: 13.87 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat does not exist to compare? outputFormat=mat