Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26",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.001444/0.001444, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0009093/0.0009092, allocations: 93.52 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2225/0.2225, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.053e-05, allocations: 4 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 61.92 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4211/0.5443, allocations: 88.56 MB / 0.5813 GB, free: 7.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5446, allocations: 71.97 kB / 0.5813 GB, free: 7.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02026/0.5649, allocations: 5.584 MB / 0.5868 GB, free: 2.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.565, allocations: 4 kB / 0.5868 GB, free: 2.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.565, allocations: 0 / 0.5868 GB, free: 2.195 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005655/0.5656, allocations: 398.2 kB / 0.5872 GB, free: 1.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.5656, allocations: 11.98 kB / 0.5872 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.523e-05/0.5657, allocations: 15.81 kB / 0.5872 GB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.5661, allocations: 207.6 kB / 0.5874 GB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.5661, allocations: 3.953 kB / 0.5874 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.5661, allocations: 8 kB / 0.5874 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.506e-05/0.5662, allocations: 23.98 kB / 0.5874 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.5664, allocations: 45.67 kB / 0.5875 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.5664, allocations: 3.938 kB / 0.5875 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.5664, allocations: 7.938 kB / 0.5875 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.5664, allocations: 0 / 0.5875 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.5669, allocations: 265.5 kB / 0.5877 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.567, allocations: 54.69 kB / 0.5878 GB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.5671, allocations: 16.98 kB / 0.5878 GB, free: 1.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.5671, allocations: 4 kB / 0.5878 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.5673, allocations: 71.31 kB / 0.5879 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.5673, allocations: 0 / 0.5879 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005215/0.5678, allocations: 149.2 kB / 0.588 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.5679, allocations: 55.41 kB / 0.5881 GB, free: 0.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.5681, allocations: 179.7 kB / 0.5882 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.5681, allocations: 25.7 kB / 0.5883 GB, free: 500 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.5682, allocations: 100.1 kB / 0.5884 GB, free: 396 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.5683, allocations: 23.66 kB / 0.5884 GB, free: 372 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.5683, allocations: 3.938 kB / 0.5884 GB, free: 368 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5684, allocations: 326.8 kB / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.673e-05/0.5685, allocations: 16 kB / 0.5887 GB, free: 16 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.5686, allocations: 37.75 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.142e-05/0.5687, allocations: 27.89 kB / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5687, allocations: 0 / 0.5888 GB, free: 15.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002032/0.5689, allocations: 89.53 kB / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.5689, allocations: 8 kB / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5689, allocations: 0 / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.5689, allocations: 0 / 0.5889 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.5691, allocations: 15.98 kB / 0.5889 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5691, allocations: 8.219 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.5692, allocations: 0 / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5692, allocations: 7.938 kB / 0.5889 GB, free: 15.81 MB / 410.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 () * 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 0.0001041/0.5693, allocations: 108.9 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001902/0.5695, allocations: 101.4 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.5695, allocations: 7.906 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.5698, allocations: 111.7 kB / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5698, allocations: 4 kB / 0.5892 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5698, allocations: 4 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.5699, allocations: 0 / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.5704, allocations: 387.8 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5704, allocations: 3.938 kB / 0.5896 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.45e-05/0.5705, allocations: 11.94 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5705, allocations: 4 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5705, allocations: 0 / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5705, allocations: 0 / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.5705, allocations: 3.984 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5708, allocations: 218.1 kB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/0.5709, allocations: 92.92 kB / 0.5899 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.5709, allocations: 4 kB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.5711, allocations: 7.969 kB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.5711, allocations: 7.953 kB / 0.5899 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5712, allocations: 8 kB / 0.5899 GB, free: 14.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001701/0.5713, allocations: 148 kB / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5713, allocations: 0 / 0.5901 GB, free: 14.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004178/0.5718, allocations: 35.92 kB / 0.5901 GB, free: 14.46 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.001767/0.5735, allocations: 1.097 MB / 0.5912 GB, free: 13.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.5737, allocations: 59.92 kB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.5737, allocations: 0 / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.5738, allocations: 27.94 kB / 0.5913 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.5742, allocations: 26.19 kB / 0.5913 GB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006899/0.5749, allocations: 223.4 kB / 0.5915 GB, free: 13.05 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.5753, allocations: 0.712 MB / 0.5922 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.395e-05/0.5754, allocations: 24.7 kB / 0.5922 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.558e-05/0.5755, allocations: 43.36 kB / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5755, allocations: 0 / 0.5923 GB, free: 12.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.6007, allocations: 2.718 MB / 0.5949 GB, free: 9.547 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.601, allocations: 168 kB / 0.5951 GB, free: 9.352 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.22, allocations: 0 / 0.5951 GB, free: 9.352 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat does not exist to compare? outputFormat=mat