Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.0009395/0.0009396, allocations: 177 kB / 17.06 MB, free: 5.094 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.326/1.326, 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.0008551/0.0008551, allocations: 95.66 kB / 292.1 MB, free: 10.93 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.3496/0.3496, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004402/0.0004403, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3734, allocations: 61.89 MB / 0.5096 GB, free: 38.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.529, allocations: 90.21 MB / 0.5977 GB, free: 4.918 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.5293, allocations: 91.84 kB / 0.5978 GB, free: 4.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01188/0.5412, allocations: 4.4 MB / 0.6021 GB, free: 444 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5412, allocations: 0 / 0.6021 GB, free: 444 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.5412, allocations: 4 kB / 0.6021 GB, free: 440 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005964/0.5418, allocations: 492.4 kB / 0.6026 GB, free: 15.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5419, allocations: 16.02 kB / 0.6026 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.5419, allocations: 34.56 kB / 0.6026 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.542, allocations: 15.81 kB / 0.6027 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.5423, allocations: 229 kB / 0.6029 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.5423, allocations: 7.953 kB / 0.6029 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.5424, allocations: 12 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.5426, allocations: 108.2 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5426, allocations: 0 / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.5426, allocations: 0 / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5426, allocations: 0 / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.5428, allocations: 63.89 kB / 0.6031 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.5434, allocations: 0.5165 MB / 0.6036 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.5437, allocations: 90.66 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.5437, allocations: 3.938 kB / 0.6037 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000185/0.5439, allocations: 91.22 kB / 0.6037 GB, free: 14.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.544, allocations: 4 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004104/0.5444, allocations: 149.4 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.5444, allocations: 51.41 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.5446, allocations: 182.6 kB / 0.6041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.5446, allocations: 25.7 kB / 0.6041 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.5447, allocations: 124.1 kB / 0.6043 GB, free: 14.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.5447, allocations: 31.62 kB / 0.6043 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.5447, allocations: 0 / 0.6043 GB, free: 13.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5449, allocations: 326.8 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.5449, allocations: 27.98 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.5451, allocations: 73.27 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.5452, allocations: 39.92 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5452, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002729/0.5455, allocations: 145.4 kB / 0.6049 GB, free: 13.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5455, allocations: 8 kB / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5455, allocations: 0 / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.5455, allocations: 4 kB / 0.6049 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.5456, allocations: 19.98 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5457, allocations: 7.938 kB / 0.6049 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.5457, allocations: 7.906 kB / 0.6049 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.5458, allocations: 15.95 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001056/0.5459, allocations: 134.4 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.5459, allocations: 7.906 kB / 0.6051 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.5462, allocations: 131.5 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.5462, allocations: 4 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5462, allocations: 0 / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5462, allocations: 96 / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.5464, allocations: 221.4 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5465, allocations: 8 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.5465, allocations: 8 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.5466, allocations: 7.984 kB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.5466, allocations: 4 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.5466, allocations: 4 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5466, allocations: 3.938 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.547, allocations: 212.7 kB / 0.6056 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.5471, allocations: 85.05 kB / 0.6057 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.5471, allocations: 8 kB / 0.6057 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.5472, allocations: 7.984 kB / 0.6057 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.5472, allocations: 7.984 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.5472, allocations: 4 kB / 0.6057 GB, free: 12.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.5474, allocations: 145.3 kB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5474, allocations: 0 / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.5476, allocations: 35.84 kB / 0.6059 GB, free: 12.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001492/0.5491, allocations: 1.049 MB / 0.6069 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002371/0.5494, allocations: 91.77 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5494, allocations: 0 / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.5495, allocations: 35.98 kB / 0.6071 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.5498, allocations: 37.78 kB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.5513, allocations: 1.451 MB / 0.6085 GB, free: 9.578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.5516, allocations: 0.72 MB / 0.6092 GB, free: 8.832 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.89e-05/0.5517, allocations: 29 kB / 0.6093 GB, free: 8.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.5518, allocations: 43.42 kB / 0.6093 GB, free: 8.762 MB / 426.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5518, allocations: 0 / 0.6093 GB, free: 8.762 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.5653, allocations: 3.308 MB / 0.6125 GB, free: 5.59 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/0.5656, allocations: 214.3 kB / 0.6127 GB, free: 5.348 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.298, allocations: 3.938 kB / 0.6127 GB, free: 5.344 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat