Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009699/0.0009696, allocations: 183 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000945/0.000945, allocations: 86.88 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2485/0.2485, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.0003479, allocations: 16 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5811, allocations: 87.68 MB / 0.5645 GB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5814, allocations: 75.78 kB / 0.5645 GB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.5961, allocations: 5.187 MB / 0.5696 GB, free: 7.625 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5961, allocations: 3.938 kB / 0.5696 GB, free: 7.621 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.5961, allocations: 4 kB / 0.5696 GB, free: 7.617 MB / 378.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.0005369/0.5967, allocations: 415.3 kB / 0.57 GB, free: 7.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5967, allocations: 8.031 kB / 0.57 GB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.575e-05/0.5968, allocations: 36.12 kB / 0.5701 GB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.5968, allocations: 7.906 kB / 0.5701 GB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002771/0.5971, allocations: 206.9 kB / 0.5703 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5971, allocations: 4.734 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.5971, allocations: 8.625 kB / 0.5703 GB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5973, allocations: 57.86 kB / 0.5703 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.5973, allocations: 0 / 0.5703 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.5973, allocations: 0.5 kB / 0.5703 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5974, allocations: 0 / 0.5703 GB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.346e-05/0.5974, allocations: 21.11 kB / 0.5704 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.5979, allocations: 289.6 kB / 0.5706 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.5981, allocations: 65.86 kB / 0.5707 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.5981, allocations: 0 / 0.5707 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.5983, allocations: 69.08 kB / 0.5708 GB, free: 6.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.5983, allocations: 0 / 0.5708 GB, free: 6.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000664/0.5989, allocations: 178.3 kB / 0.5709 GB, free: 6.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.599, allocations: 55.39 kB / 0.571 GB, free: 6.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.5992, allocations: 152.7 kB / 0.5711 GB, free: 5.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5992, allocations: 25.7 kB / 0.5712 GB, free: 5.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.5993, allocations: 99.38 kB / 0.5712 GB, free: 5.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.628e-05/0.5993, allocations: 27.14 kB / 0.5713 GB, free: 5.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.5993, allocations: 0 / 0.5713 GB, free: 5.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5995, allocations: 322.5 kB / 0.5716 GB, free: 5.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.5996, allocations: 23.17 kB / 0.5716 GB, free: 5.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.956e-05/0.5997, allocations: 40.77 kB / 0.5716 GB, free: 5.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.837e-05/0.5997, allocations: 26.88 kB / 0.5717 GB, free: 5.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5997, allocations: 0 / 0.5717 GB, free: 5.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.5999, allocations: 103.5 kB / 0.5718 GB, free: 5.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.6, allocations: 4 kB / 0.5718 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6, allocations: 384 / 0.5718 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.6, allocations: 0 / 0.5718 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.6001, allocations: 19.98 kB / 0.5718 GB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.6001, allocations: 3.953 kB / 0.5718 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.6002, allocations: 15.53 kB / 0.5718 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.6002, allocations: 0 / 0.5718 GB, free: 5.324 MB / 378.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.0001221/0.6003, allocations: 133.2 kB / 0.5719 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.6004, allocations: 7.906 kB / 0.5719 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.6006, allocations: 123.9 kB / 0.5721 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.6007, allocations: 0 / 0.5721 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.6007, allocations: 0 / 0.5721 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6007, allocations: 3.953 kB / 0.5721 GB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.6012, allocations: 405.7 kB / 0.5724 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6012, allocations: 0 / 0.5724 GB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.6012, allocations: 15.94 kB / 0.5725 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.6012, allocations: 0 / 0.5725 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.6012, allocations: 0 / 0.5725 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6013, allocations: 11.89 kB / 0.5725 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6013, allocations: 3.984 kB / 0.5725 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.6015, allocations: 223.1 kB / 0.5727 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.6016, allocations: 85.02 kB / 0.5728 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.6016, allocations: 7.938 kB / 0.5728 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.6017, allocations: 7.406 kB / 0.5728 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.6018, allocations: 11.92 kB / 0.5728 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.6018, allocations: 0 / 0.5728 GB, free: 4.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.488e-05/0.6019, allocations: 135 kB / 0.5729 GB, free: 4.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6019, allocations: 0 / 0.5729 GB, free: 4.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.6021, allocations: 31.47 kB / 0.573 GB, free: 4.141 MB / 378.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.001527/0.6037, allocations: 1.192 MB / 0.5741 GB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.6039, allocations: 62.28 kB / 0.5742 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6039, allocations: 0 / 0.5742 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.221e-05/0.604, allocations: 42.11 kB / 0.5742 GB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.6043, allocations: 19.48 kB / 0.5742 GB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.6054, allocations: 0.7999 MB / 0.575 GB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.6057, allocations: 0.7043 MB / 0.5757 GB, free: 1.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.6058, allocations: 28.84 kB / 0.5757 GB, free: 1.367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.6059, allocations: 33.62 kB / 0.5758 GB, free: 1.348 MB / 378.7 MB Notification: Performance of SimCode: time 1.058e-05/0.6059, allocations: 112 / 0.5758 GB, free: 1.348 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.6205, allocations: 2.852 MB / 0.5786 GB, free: 14.52 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.6207, allocations: 204.7 kB / 0.5787 GB, free: 14.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.155, allocations: 0 / 0.5787 GB, free: 14.29 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat does not exist to compare? outputFormat=mat