Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.001274/0.001274, allocations: 179.8 kB / 14.15 MB, free: 1.172 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.543/1.543, allocations: 221.3 MB / 236 MB, free: 2.949 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.0008991/0.0008994, allocations: 95.55 kB / 287 MB, free: 236 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.211/0.211, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.086e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1698, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4809/0.6508, allocations: 89.48 MB / 0.5892 GB, free: 15.78 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.6512, allocations: 79.89 kB / 0.5893 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02351/0.6747, allocations: 8.063 MB / 0.5971 GB, free: 7.648 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6748, allocations: 0 / 0.5971 GB, free: 7.648 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.113e-05/0.6748, allocations: 7.938 kB / 0.5971 GB, free: 7.641 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009657/0.6758, allocations: 493.7 kB / 0.5976 GB, free: 7.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/0.6759, allocations: 12.03 kB / 0.5976 GB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.39e-05/0.676, allocations: 38.55 kB / 0.5977 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.759e-05/0.6761, allocations: 23.72 kB / 0.5977 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/0.6766, allocations: 286.3 kB / 0.598 GB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.6767, allocations: 7.984 kB / 0.598 GB, free: 6.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.6767, allocations: 8 kB / 0.598 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.677, allocations: 111.2 kB / 0.5981 GB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.677, allocations: 4 kB / 0.5981 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.677, allocations: 0 / 0.5981 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.677, allocations: 0 / 0.5981 GB, free: 6.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.6772, allocations: 47.97 kB / 0.5981 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.6779, allocations: 484.7 kB / 0.5986 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.6783, allocations: 117.2 kB / 0.5987 GB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.6784, allocations: 53.77 kB / 0.5988 GB, free: 5.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.6784, allocations: 4 kB / 0.5988 GB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.6786, allocations: 113.2 kB / 0.5989 GB, free: 5.668 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.913e-06/0.6786, allocations: 0 / 0.5989 GB, free: 5.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001057/0.6797, allocations: 423.8 kB / 0.5993 GB, free: 5.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.612e-05/0.6798, allocations: 89.11 kB / 0.5994 GB, free: 5.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.6802, allocations: 327.3 kB / 0.5997 GB, free: 4.816 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.6803, allocations: 29.7 kB / 0.5997 GB, free: 4.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6804, allocations: 136.6 kB / 0.5998 GB, free: 4.645 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/0.6805, allocations: 74.94 kB / 0.5999 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.6805, allocations: 4 kB / 0.5999 GB, free: 4.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.6807, allocations: 338.8 kB / 0.6002 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.6808, allocations: 55.98 kB / 0.6003 GB, free: 4.172 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.6809, allocations: 92.73 kB / 0.6004 GB, free: 4.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.681, allocations: 62.83 kB / 0.6004 GB, free: 4.012 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6811, allocations: 0 / 0.6004 GB, free: 4.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003695/0.6814, allocations: 213.2 kB / 0.6006 GB, free: 3.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.6815, allocations: 13.02 kB / 0.6006 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6815, allocations: 4 kB / 0.6006 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.6815, allocations: 8.016 kB / 0.6007 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.6817, allocations: 43.98 kB / 0.6007 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6817, allocations: 0 / 0.6007 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.6818, allocations: 15.98 kB / 0.6007 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.6818, allocations: 4 kB / 0.6007 GB, free: 3.711 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.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 (26): * Single equations (assignments): 26 * 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 0.000126/0.682, allocations: 128.9 kB / 0.6008 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.682, allocations: 27.62 kB / 0.6009 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.6825, allocations: 265.4 kB / 0.6011 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.6826, allocations: 11.89 kB / 0.6011 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6826, allocations: 0 / 0.6011 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.6826, allocations: 3.984 kB / 0.6011 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.6836, allocations: 0.7661 MB / 0.6019 GB, free: 2.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6836, allocations: 7.938 kB / 0.6019 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.896e-05/0.6838, allocations: 31.92 kB / 0.6019 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.6838, allocations: 4 kB / 0.6019 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.6838, allocations: 8 kB / 0.6019 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.6838, allocations: 4 kB / 0.6019 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6838, allocations: 0 / 0.6019 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000535/0.6844, allocations: 485.8 kB / 0.6024 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.6845, allocations: 124.6 kB / 0.6025 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.472e-05/0.6846, allocations: 11.98 kB / 0.6025 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.6847, allocations: 12 kB / 0.6025 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.6848, allocations: 15.97 kB / 0.6026 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6848, allocations: 12 kB / 0.6026 GB, free: 1.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000296/0.6851, allocations: 259.1 kB / 0.6028 GB, free: 1.395 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6851, allocations: 4 kB / 0.6028 GB, free: 1.391 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.6855, allocations: 63.94 kB / 0.6029 GB, free: 1.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.002105/0.6876, allocations: 1.727 MB / 0.6046 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003441/0.688, allocations: 151.9 kB / 0.6047 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.688, allocations: 4.125 kB / 0.6047 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.6881, allocations: 83.81 kB / 0.6048 GB, free: 15.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.6886, allocations: 52.09 kB / 0.6048 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.6897, allocations: 489.3 kB / 0.6053 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.6902, allocations: 0.7677 MB / 0.6061 GB, free: 14.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.6903, allocations: 54.05 kB / 0.6061 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.6905, allocations: 83.41 kB / 0.6062 GB, free: 13.93 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6905, allocations: 0 / 0.6062 GB, free: 13.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.7129, allocations: 5.619 MB / 0.6117 GB, free: 8.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.7132, allocations: 188 kB / 0.6119 GB, free: 8.184 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.757, allocations: 4.062 kB / 0.6119 GB, free: 8.18 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat