Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78",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.002402/0.002402, allocations: 180.5 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.576/1.576, allocations: 221.3 MB / 236 MB, free: 2.918 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.0008679/0.000868, allocations: 87.92 kB / 287 MB, free: 192 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.2223/0.2223, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.112e-05/5.122e-05, allocations: 4.219 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1553, allocations: 61.93 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.6448, allocations: 89.48 MB / 0.5892 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.6451, allocations: 71.97 kB / 0.5893 GB, free: 15.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02329/0.6684, allocations: 8.401 MB / 0.5975 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6685, allocations: 0 / 0.5975 GB, free: 7.305 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.6685, allocations: 4 kB / 0.5975 GB, free: 7.301 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.0007582/0.6693, allocations: 0.5171 MB / 0.598 GB, free: 6.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.6693, allocations: 8.031 kB / 0.598 GB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.784e-05/0.6694, allocations: 38.56 kB / 0.598 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.6694, allocations: 27.62 kB / 0.598 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005228/0.67, allocations: 299.9 kB / 0.5983 GB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.67, allocations: 8 kB / 0.5983 GB, free: 6.312 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.67, allocations: 11.92 kB / 0.5983 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.6703, allocations: 115.3 kB / 0.5985 GB, free: 6.176 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.6703, allocations: 3.984 kB / 0.5985 GB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.6703, allocations: 4 kB / 0.5985 GB, free: 6.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6703, allocations: 4 kB / 0.5985 GB, free: 6.164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.6704, allocations: 43.98 kB / 0.5985 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.6712, allocations: 0.4967 MB / 0.599 GB, free: 5.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.6715, allocations: 117.2 kB / 0.5991 GB, free: 5.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.038e-05/0.6716, allocations: 49.77 kB / 0.5992 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.6717, allocations: 0 / 0.5992 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002409/0.6719, allocations: 122.4 kB / 0.5993 GB, free: 5.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.6719, allocations: 0 / 0.5993 GB, free: 5.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001109/0.673, allocations: 439.7 kB / 0.5997 GB, free: 4.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.649e-05/0.6731, allocations: 81.11 kB / 0.5998 GB, free: 4.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.6738, allocations: 435.5 kB / 0.6002 GB, free: 4.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.6738, allocations: 33.7 kB / 0.6002 GB, free: 4.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.674, allocations: 168.5 kB / 0.6004 GB, free: 4.066 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.6741, allocations: 67.08 kB / 0.6004 GB, free: 4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.6741, allocations: 11.94 kB / 0.6004 GB, free: 3.988 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.6743, allocations: 342.8 kB / 0.6008 GB, free: 3.645 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.6744, allocations: 57.3 kB / 0.6008 GB, free: 3.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.6745, allocations: 87.42 kB / 0.6009 GB, free: 3.492 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.6747, allocations: 62.83 kB / 0.601 GB, free: 3.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.6747, allocations: 3.938 kB / 0.601 GB, free: 3.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003559/0.675, allocations: 233 kB / 0.6012 GB, free: 3.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.6751, allocations: 7.984 kB / 0.6012 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.6751, allocations: 4 kB / 0.6012 GB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.6751, allocations: 4 kB / 0.6012 GB, free: 3.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.6753, allocations: 43.86 kB / 0.6013 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.6753, allocations: 4 kB / 0.6013 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.6754, allocations: 16.05 kB / 0.6013 GB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.6754, allocations: 8 kB / 0.6013 GB, free: 3.109 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.0001134/0.6755, allocations: 120.9 kB / 0.6014 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.6756, allocations: 39.58 kB / 0.6014 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004874/0.6761, allocations: 274.3 kB / 0.6017 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.6761, allocations: 4 kB / 0.6017 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6761, allocations: 0 / 0.6017 GB, free: 2.672 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6761, allocations: 7.984 kB / 0.6017 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.6772, allocations: 0.7936 MB / 0.6025 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6772, allocations: 0 / 0.6025 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.6773, allocations: 39.98 kB / 0.6025 GB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.6773, allocations: 4 kB / 0.6025 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.6774, allocations: 8 kB / 0.6025 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.6774, allocations: 4 kB / 0.6025 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6774, allocations: 0 / 0.6025 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/0.6779, allocations: 493.8 kB / 0.603 GB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.6781, allocations: 128.7 kB / 0.6031 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.6781, allocations: 11.98 kB / 0.6031 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.6783, allocations: 16 kB / 0.6032 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.6784, allocations: 23.89 kB / 0.6032 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.6784, allocations: 12 kB / 0.6032 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004221/0.6789, allocations: 350.1 kB / 0.6035 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6789, allocations: 0 / 0.6035 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004006/0.6793, allocations: 79.83 kB / 0.6036 GB, free: 0.5781 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.00207/0.6814, allocations: 1.742 MB / 0.6053 GB, free: 14.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.6817, allocations: 147.8 kB / 0.6054 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.6817, allocations: 0 / 0.6054 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.6818, allocations: 83.86 kB / 0.6055 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.6823, allocations: 60.59 kB / 0.6056 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.6835, allocations: 0.5901 MB / 0.6062 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.6839, allocations: 0.7902 MB / 0.6069 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.6841, allocations: 62.03 kB / 0.607 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.6842, allocations: 103.4 kB / 0.6071 GB, free: 13.01 MB / 426.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6842, allocations: 0 / 0.6071 GB, free: 13.01 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.7029, allocations: 6.344 MB / 0.6133 GB, free: 6.758 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.7031, allocations: 194.2 kB / 0.6135 GB, free: 6.527 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.755, allocations: 0 / 0.6135 GB, free: 6.527 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat does not exist to compare? outputFormat=mat