Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43",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.001287/0.001287, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.367/1.367, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.0009111, allocations: 96.17 kB / 292.1 MB, free: 10.9 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.3542/0.3542, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003766, allocations: 8 kB / 460 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4356/0.436, allocations: 61.91 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.5623, allocations: 89.3 MB / 0.5969 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.5626, allocations: 79.92 kB / 0.5969 GB, free: 5.723 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.5779, allocations: 5.66 MB / 0.6025 GB, free: 64 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.578, allocations: 0 / 0.6025 GB, free: 64 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.578, allocations: 7.938 kB / 0.6025 GB, free: 56 kB / 410.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.0006505/0.5787, allocations: 426.8 kB / 0.6029 GB, free: 15.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.5788, allocations: 8.031 kB / 0.6029 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.5788, allocations: 34.56 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.5789, allocations: 15.81 kB / 0.6029 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.5792, allocations: 220.1 kB / 0.6031 GB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.5792, allocations: 3.953 kB / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.5792, allocations: 8 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.5794, allocations: 49.67 kB / 0.6032 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5794, allocations: 7.938 kB / 0.6032 GB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.5794, allocations: 7.984 kB / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5794, allocations: 0 / 0.6032 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.5795, allocations: 19.98 kB / 0.6032 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.5799, allocations: 292.8 kB / 0.6035 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.5801, allocations: 62.61 kB / 0.6036 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.5801, allocations: 4 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001434/0.5802, allocations: 67.52 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.5802, allocations: 0 / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005513/0.5808, allocations: 177.1 kB / 0.6038 GB, free: 14.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.5809, allocations: 59.39 kB / 0.6039 GB, free: 14.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.581, allocations: 178.5 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.5811, allocations: 29.7 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.5811, allocations: 108.1 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.5812, allocations: 31.62 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.5812, allocations: 0 / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.5813, allocations: 327 kB / 0.6045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.5814, allocations: 19.98 kB / 0.6045 GB, free: 13.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.5814, allocations: 37.7 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.473e-05/0.5815, allocations: 31.94 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.5815, allocations: 0 / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001767/0.5817, allocations: 97.58 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5817, allocations: 6.188 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5817, allocations: 0 / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5817, allocations: 0 / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.5818, allocations: 19.94 kB / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.5819, allocations: 0 / 0.6047 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.5819, allocations: 11.98 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.5819, allocations: 4.031 kB / 0.6047 GB, free: 13.5 MB / 426.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 () * Number of clocked 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.0001001/0.582, allocations: 130.3 kB / 0.6048 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.5821, allocations: 11.81 kB / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.5823, allocations: 131.1 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5823, allocations: 4 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5823, allocations: 0 / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5824, allocations: 0 / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004869/0.5829, allocations: 419.8 kB / 0.6054 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5829, allocations: 4 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.978e-05/0.5829, allocations: 15.98 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5829, allocations: 0 / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.5829, allocations: 0 / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5829, allocations: 4 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.583, allocations: 3.938 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.5832, allocations: 229.9 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.5833, allocations: 93.02 kB / 0.6057 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.5833, allocations: 3.984 kB / 0.6057 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.5834, allocations: 15.92 kB / 0.6057 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.5834, allocations: 7.953 kB / 0.6057 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.5834, allocations: 0 / 0.6057 GB, free: 12.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.5836, allocations: 148.9 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5836, allocations: 4 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.5838, allocations: 43.92 kB / 0.6059 GB, free: 12.13 MB / 426.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) * Number of clocked states: 0 () * 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.001501/0.5853, allocations: 1.188 MB / 0.6071 GB, free: 11.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.5855, allocations: 59.92 kB / 0.6072 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5855, allocations: 0 / 0.6072 GB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.5856, allocations: 35.92 kB / 0.6072 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.5859, allocations: 37.55 kB / 0.6072 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5871, allocations: 0.8818 MB / 0.6081 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.5874, allocations: 0.716 MB / 0.6088 GB, free: 9.305 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.5874, allocations: 24.84 kB / 0.6088 GB, free: 9.281 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.523e-05/0.5875, allocations: 35.42 kB / 0.6088 GB, free: 9.246 MB / 426.7 MB Notification: Performance of SimCode: time 2.915e-06/0.5875, allocations: 0 / 0.6088 GB, free: 9.246 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.6008, allocations: 3.068 MB / 0.6118 GB, free: 6.309 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.601, allocations: 214.2 kB / 0.612 GB, free: 6.066 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.244, allocations: 7.812 kB / 0.6121 GB, free: 6.062 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat