Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.001327/0.001327, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.4 MB / 236 MB, free: 2.957 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.0008486/0.0008487, allocations: 99.48 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.279e-05/5.281e-05, allocations: 8.156 kB / 451.9 MB, free: 9.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1602, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4759/0.6362, allocations: 89.06 MB / 0.5888 GB, free: 176 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.6364, allocations: 67.97 kB / 0.5888 GB, free: 108 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0165/0.6529, allocations: 6.667 MB / 0.5954 GB, free: 9.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.653, allocations: 0 / 0.5954 GB, free: 9.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.653, allocations: 8 kB / 0.5954 GB, free: 9.445 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007207/0.6537, allocations: 0.5948 MB / 0.5959 GB, free: 8.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6538, allocations: 8.031 kB / 0.596 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.6539, allocations: 34.56 kB / 0.596 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/0.654, allocations: 47.34 kB / 0.596 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008037/0.6548, allocations: 483.1 kB / 0.5965 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.6548, allocations: 4 kB / 0.5965 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.6548, allocations: 7.984 kB / 0.5965 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.655, allocations: 83.38 kB / 0.5966 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.655, allocations: 0 / 0.5966 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.655, allocations: 0 / 0.5966 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.655, allocations: 0 / 0.5966 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.506e-05/0.6551, allocations: 31.98 kB / 0.5966 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.6555, allocations: 382.3 kB / 0.597 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.6557, allocations: 101.2 kB / 0.5971 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.6558, allocations: 37.72 kB / 0.5971 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.6558, allocations: 4 kB / 0.5971 GB, free: 7.465 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.656, allocations: 105.1 kB / 0.5972 GB, free: 7.344 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.656, allocations: 0 / 0.5972 GB, free: 7.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003238/0.6563, allocations: 169 kB / 0.5974 GB, free: 7.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.6564, allocations: 77.11 kB / 0.5974 GB, free: 7.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.6575, allocations: 0.9147 MB / 0.5983 GB, free: 6.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.6575, allocations: 25.7 kB / 0.5984 GB, free: 6.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.6577, allocations: 236.1 kB / 0.5986 GB, free: 5.895 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.289e-05/0.6578, allocations: 27.64 kB / 0.5986 GB, free: 5.867 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/0.6578, allocations: 4 kB / 0.5986 GB, free: 5.863 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6579, allocations: 366.8 kB / 0.599 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.658, allocations: 24 kB / 0.599 GB, free: 5.473 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/0.658, allocations: 55.42 kB / 0.599 GB, free: 5.406 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.6581, allocations: 35.92 kB / 0.5991 GB, free: 5.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6581, allocations: 0 / 0.5991 GB, free: 5.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000229/0.6584, allocations: 161.2 kB / 0.5992 GB, free: 5.207 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6584, allocations: 9.094 kB / 0.5992 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6584, allocations: 7.938 kB / 0.5993 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.6584, allocations: 0 / 0.5993 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.6585, allocations: 35.84 kB / 0.5993 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6586, allocations: 4.062 kB / 0.5993 GB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.6587, allocations: 15.91 kB / 0.5993 GB, free: 5.137 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.6587, allocations: 4 kB / 0.5993 GB, free: 5.133 MB / 410.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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.846e-05/0.6588, allocations: 116.8 kB / 0.5994 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.286e-05/0.6589, allocations: 55.39 kB / 0.5995 GB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.6592, allocations: 193.3 kB / 0.5997 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6592, allocations: 3.984 kB / 0.5997 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.6592, allocations: 4 kB / 0.5997 GB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6592, allocations: 0 / 0.5997 GB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.6596, allocations: 385.3 kB / 0.6 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.6596, allocations: 0 / 0.6 GB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.6596, allocations: 11.98 kB / 0.6 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6596, allocations: 3.953 kB / 0.6 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.6597, allocations: 7.938 kB / 0.6001 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6597, allocations: 0 / 0.6001 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6597, allocations: 0 / 0.6001 GB, free: 4.301 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.66, allocations: 223 kB / 0.6003 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.6603, allocations: 188.5 kB / 0.6004 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.6603, allocations: 8 kB / 0.6005 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.492e-05/0.6604, allocations: 11.98 kB / 0.6005 GB, free: 3.832 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.6605, allocations: 7.984 kB / 0.6005 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.6605, allocations: 8.125 kB / 0.6005 GB, free: 3.816 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007995/0.6613, allocations: 0.7279 MB / 0.6012 GB, free: 3.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6613, allocations: 0 / 0.6012 GB, free: 3.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002923/0.6616, allocations: 79.94 kB / 0.6013 GB, free: 3.012 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001367/0.663, allocations: 1.104 MB / 0.6023 GB, free: 1.977 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.6632, allocations: 79.86 kB / 0.6024 GB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6632, allocations: 0 / 0.6024 GB, free: 1.898 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.119e-05/0.6633, allocations: 40 kB / 0.6025 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.6637, allocations: 77.16 kB / 0.6025 GB, free: 1.789 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.6652, allocations: 0.8634 MB / 0.6034 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.6657, allocations: 0.8585 MB / 0.6042 GB, free: 0 / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.6659, allocations: 82.95 kB / 0.6043 GB, free: 15.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.6661, allocations: 155.4 kB / 0.6044 GB, free: 15.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6661, allocations: 0 / 0.6044 GB, free: 15.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/0.69, allocations: 8.856 MB / 0.6131 GB, free: 6.996 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001916/0.6902, allocations: 190.6 kB / 0.6133 GB, free: 6.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.952, allocations: 0 / 0.6133 GB, free: 6.77 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat does not exist to compare? outputFormat=mat