Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.001123/0.001123, allocations: 169.7 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.423/1.423, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0008802/0.0008802, allocations: 90.61 kB / 281.6 MB, free: 5.309 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.2197/0.2197, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.448e-05, allocations: 8 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 61.92 MB / 0.4948 GB, free: 1.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4485/0.5812, allocations: 88.55 MB / 0.5812 GB, free: 7.797 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5815, allocations: 75.95 kB / 0.5813 GB, free: 7.723 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.5968, allocations: 5.847 MB / 0.587 GB, free: 1.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5968, allocations: 0 / 0.587 GB, free: 1.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.5968, allocations: 0 / 0.587 GB, free: 1.891 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.0006003/0.5974, allocations: 422.1 kB / 0.5874 GB, free: 1.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.5975, allocations: 11.98 kB / 0.5874 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.002e-05/0.5976, allocations: 11.91 kB / 0.5875 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.598, allocations: 238.2 kB / 0.5877 GB, free: 1.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.598, allocations: 3.953 kB / 0.5877 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.5981, allocations: 0 / 0.5877 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.119e-05/0.5982, allocations: 19.98 kB / 0.5877 GB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.5983, allocations: 49.69 kB / 0.5878 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5983, allocations: 0 / 0.5878 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.5983, allocations: 11.86 kB / 0.5878 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.5983, allocations: 0 / 0.5878 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.5988, allocations: 289.4 kB / 0.588 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.5989, allocations: 46.7 kB / 0.5881 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.913e-05/0.599, allocations: 20.97 kB / 0.5881 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.599, allocations: 3.984 kB / 0.5881 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.5992, allocations: 67.34 kB / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5992, allocations: 4 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005032/0.5997, allocations: 149.2 kB / 0.5883 GB, free: 420 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.5998, allocations: 55.41 kB / 0.5884 GB, free: 352 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.6, allocations: 226.1 kB / 0.5886 GB, free: 116 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.6, allocations: 25.7 kB / 0.5886 GB, free: 84 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.6002, allocations: 112.1 kB / 0.5887 GB, free: 15.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.6002, allocations: 27.64 kB / 0.5887 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.6002, allocations: 0 / 0.5887 GB, free: 15.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6004, allocations: 330.8 kB / 0.5891 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.776e-05/0.6004, allocations: 20 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.066e-05/0.6005, allocations: 29.72 kB / 0.5891 GB, free: 15.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.6005, allocations: 27.92 kB / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.6005, allocations: 0 / 0.5891 GB, free: 15.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001512/0.6007, allocations: 97.5 kB / 0.5892 GB, free: 15.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.6007, allocations: 8 kB / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.6007, allocations: 0 / 0.5892 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.6007, allocations: 4.031 kB / 0.5892 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.6e-05/0.6008, allocations: 16.17 kB / 0.5893 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.6009, allocations: 4 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.6009, allocations: 3.938 kB / 0.5893 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.6009, allocations: 4 kB / 0.5893 GB, free: 15.39 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 8.409e-05/0.601, allocations: 120.1 kB / 0.5894 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001452/0.6012, allocations: 93.44 kB / 0.5895 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.6012, allocations: 15.81 kB / 0.5895 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002121/0.6014, allocations: 119.4 kB / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.6014, allocations: 0 / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.6014, allocations: 0 / 0.5896 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6014, allocations: 3.984 kB / 0.5896 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.6019, allocations: 395.9 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6019, allocations: 3.938 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.6019, allocations: 19.94 kB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6019, allocations: 0 / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.602, allocations: 4.031 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.602, allocations: 4 kB / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.602, allocations: 0 / 0.59 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.6022, allocations: 214 kB / 0.5902 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.6023, allocations: 104.9 kB / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.6023, allocations: 0 / 0.5903 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.216e-05/0.6024, allocations: 11.98 kB / 0.5903 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.6024, allocations: 7.953 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.6025, allocations: 4.188 kB / 0.5903 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.6026, allocations: 188.2 kB / 0.5905 GB, free: 14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6026, allocations: 0 / 0.5905 GB, free: 14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.6029, allocations: 39.92 kB / 0.5906 GB, free: 13.96 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.001295/0.6042, allocations: 1.108 MB / 0.5916 GB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.6044, allocations: 59.91 kB / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6044, allocations: 0 / 0.5917 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.125e-05/0.6044, allocations: 31.94 kB / 0.5917 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.6047, allocations: 27.72 kB / 0.5917 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.6053, allocations: 283.6 kB / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.6056, allocations: 0.7197 MB / 0.5927 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.839e-05/0.6057, allocations: 28.34 kB / 0.5927 GB, free: 11.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.6058, allocations: 43.42 kB / 0.5928 GB, free: 11.65 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6058, allocations: 0 / 0.5928 GB, free: 11.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.6273, allocations: 3.07 MB / 0.5958 GB, free: 8.586 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/0.6275, allocations: 163.2 kB / 0.5959 GB, free: 8.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.244, allocations: 0 / 0.5959 GB, free: 8.398 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat