Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001808/0.001808, allocations: 183 kB / 13.19 MB, free: 2.129 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.65/1.65, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0009581/0.0009581, allocations: 86.59 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4258/0.4258, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.151e-05/4.177e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5807, allocations: 87.72 MB / 0.5586 GB, free: 16.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.581, allocations: 78.64 kB / 0.5587 GB, free: 16.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01963/0.6006, allocations: 7.678 MB / 0.5662 GB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6007, allocations: 0 / 0.5662 GB, free: 11.28 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.201e-05/0.6007, allocations: 4 kB / 0.5662 GB, free: 11.27 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005846/0.6013, allocations: 498.2 kB / 0.5666 GB, free: 10.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.6014, allocations: 8.031 kB / 0.5666 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.185e-05/0.6014, allocations: 38.55 kB / 0.5667 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.6015, allocations: 27.28 kB / 0.5667 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.6019, allocations: 303 kB / 0.567 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.602, allocations: 0 / 0.567 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.602, allocations: 7.875 kB / 0.567 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.6022, allocations: 92.06 kB / 0.5671 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.6022, allocations: 3.984 kB / 0.5671 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.6022, allocations: 0 / 0.5671 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.6022, allocations: 4 kB / 0.5671 GB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.277e-05/0.6023, allocations: 47.56 kB / 0.5671 GB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.6028, allocations: 463.5 kB / 0.5676 GB, free: 9.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.603, allocations: 112.1 kB / 0.5677 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.603, allocations: 37.09 kB / 0.5677 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.6031, allocations: 11.81 kB / 0.5677 GB, free: 9.617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.6032, allocations: 116.3 kB / 0.5678 GB, free: 9.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.6033, allocations: 0 / 0.5678 GB, free: 9.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006141/0.6039, allocations: 324.7 kB / 0.5682 GB, free: 9.223 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.6039, allocations: 92.67 kB / 0.5682 GB, free: 9.117 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.6043, allocations: 387 kB / 0.5686 GB, free: 8.809 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.6043, allocations: 29.64 kB / 0.5686 GB, free: 8.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.6044, allocations: 150.6 kB / 0.5688 GB, free: 8.668 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.6044, allocations: 50.98 kB / 0.5688 GB, free: 8.625 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-06/0.6044, allocations: 3.75 kB / 0.5688 GB, free: 8.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.6045, allocations: 342 kB / 0.5692 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.6046, allocations: 45.41 kB / 0.5692 GB, free: 8.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.6046, allocations: 70.94 kB / 0.5693 GB, free: 8.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.6047, allocations: 43.3 kB / 0.5693 GB, free: 8.172 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6047, allocations: 0 / 0.5693 GB, free: 8.172 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002085/0.6049, allocations: 180.2 kB / 0.5695 GB, free: 8.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.605, allocations: 8 kB / 0.5695 GB, free: 8.012 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.605, allocations: 4.438 kB / 0.5695 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.605, allocations: 0 / 0.5695 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.6051, allocations: 31.98 kB / 0.5695 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6051, allocations: 4 kB / 0.5695 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.869e-05/0.6052, allocations: 15.84 kB / 0.5696 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.6052, allocations: 4 kB / 0.5696 GB, free: 7.957 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.059e-05/0.6053, allocations: 128.5 kB / 0.5697 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.6054, allocations: 27.72 kB / 0.5697 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.6057, allocations: 215.7 kB / 0.5699 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.6057, allocations: 4 kB / 0.5699 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.6057, allocations: 0 / 0.5699 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6057, allocations: 0 / 0.5699 GB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.6064, allocations: 0.6786 MB / 0.5706 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6064, allocations: 4.062 kB / 0.5706 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.145e-05/0.6064, allocations: 23.92 kB / 0.5706 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.6065, allocations: 4 kB / 0.5706 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.6065, allocations: 4 kB / 0.5706 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.6065, allocations: 3.984 kB / 0.5706 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6065, allocations: 7.922 kB / 0.5706 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.6068, allocations: 408.9 kB / 0.571 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/0.6069, allocations: 124.6 kB / 0.5711 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.6069, allocations: 13.14 kB / 0.5711 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.6071, allocations: 11.88 kB / 0.5712 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.6071, allocations: 11.97 kB / 0.5712 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.6072, allocations: 15.62 kB / 0.5712 GB, free: 6.355 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002579/0.6074, allocations: 319.2 kB / 0.5715 GB, free: 6.113 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6074, allocations: 0 / 0.5715 GB, free: 6.113 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.6077, allocations: 55.61 kB / 0.5715 GB, free: 6.062 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001314/0.6091, allocations: 1.472 MB / 0.573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.6093, allocations: 122.4 kB / 0.5731 GB, free: 4.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6093, allocations: 4 kB / 0.5731 GB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.6094, allocations: 59.25 kB / 0.5732 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.6097, allocations: 49.75 kB / 0.5732 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.6106, allocations: 0.4889 MB / 0.5737 GB, free: 4.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.6108, allocations: 0.767 MB / 0.5744 GB, free: 3.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.346e-05/0.6109, allocations: 45.53 kB / 0.5745 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.611, allocations: 83.34 kB / 0.5745 GB, free: 3.168 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.611, allocations: 0 / 0.5745 GB, free: 3.168 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.6293, allocations: 5.563 MB / 0.58 GB, free: 13.64 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/0.6296, allocations: 187.6 kB / 0.5802 GB, free: 13.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.601, allocations: 64 / 0.5802 GB, free: 13.41 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat