Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.001393/0.001392, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.765/1.765, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001018/0.001018, allocations: 98.83 kB / 270.2 MB, free: 13.36 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.2316/0.2316, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1274, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4821, allocations: 87.72 MB / 0.5645 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4824, allocations: 75.58 kB / 0.5646 GB, free: 11.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01624/0.4987, allocations: 5.876 MB / 0.5703 GB, free: 6.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4987, allocations: 4 kB / 0.5703 GB, free: 6.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.4987, allocations: 0 / 0.5703 GB, free: 6.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005144/0.4993, allocations: 450.1 kB / 0.5708 GB, free: 6.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4993, allocations: 12.03 kB / 0.5708 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.4994, allocations: 34.44 kB / 0.5708 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.795e-05/0.4994, allocations: 15.81 kB / 0.5708 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.4997, allocations: 236.3 kB / 0.5711 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.4997, allocations: 7.984 kB / 0.5711 GB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.4998, allocations: 4 kB / 0.5711 GB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.4999, allocations: 71.66 kB / 0.5711 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4999, allocations: 0 / 0.5711 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.4999, allocations: 0 / 0.5711 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.5, allocations: 4 kB / 0.5711 GB, free: 6.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.732e-05/0.5001, allocations: 30.16 kB / 0.5712 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004245/0.5005, allocations: 314.4 kB / 0.5715 GB, free: 5.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.5007, allocations: 82.55 kB / 0.5715 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.5007, allocations: 0 / 0.5715 GB, free: 5.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.5009, allocations: 85.14 kB / 0.5716 GB, free: 5.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.5009, allocations: 3.938 kB / 0.5716 GB, free: 5.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005762/0.5015, allocations: 212.4 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.5016, allocations: 59.41 kB / 0.5719 GB, free: 5.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.5018, allocations: 225.5 kB / 0.5721 GB, free: 5.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.5018, allocations: 25.7 kB / 0.5721 GB, free: 5.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.5019, allocations: 112.8 kB / 0.5722 GB, free: 4.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.5019, allocations: 27.39 kB / 0.5723 GB, free: 4.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.5019, allocations: 0 / 0.5723 GB, free: 4.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.502, allocations: 326.1 kB / 0.5726 GB, free: 4.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.605e-05/0.5021, allocations: 35.3 kB / 0.5726 GB, free: 4.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.397e-05/0.5022, allocations: 44.39 kB / 0.5726 GB, free: 4.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.237e-05/0.5023, allocations: 32.61 kB / 0.5727 GB, free: 4.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5023, allocations: 0 / 0.5727 GB, free: 4.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002192/0.5025, allocations: 119.4 kB / 0.5728 GB, free: 4.406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5025, allocations: 7.438 kB / 0.5728 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5026, allocations: 4 kB / 0.5728 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5026, allocations: 0 / 0.5728 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.5027, allocations: 20.77 kB / 0.5728 GB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.5027, allocations: 11.89 kB / 0.5728 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.5027, allocations: 1.875 kB / 0.5728 GB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.5028, allocations: 4.562 kB / 0.5728 GB, free: 4.363 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 (11): * Single equations (assignments): 11 * 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.0001143/0.5029, allocations: 137.4 kB / 0.573 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.5029, allocations: 16.31 kB / 0.573 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.5032, allocations: 141.6 kB / 0.5731 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5032, allocations: 3.938 kB / 0.5731 GB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5032, allocations: 11.98 kB / 0.5731 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5032, allocations: 4.141 kB / 0.5731 GB, free: 4.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.5038, allocations: 471.2 kB / 0.5736 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5038, allocations: 0 / 0.5736 GB, free: 3.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.5038, allocations: 12 kB / 0.5736 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.5039, allocations: 0 / 0.5736 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5039, allocations: 11.27 kB / 0.5736 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5039, allocations: 0 / 0.5736 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5039, allocations: 8.016 kB / 0.5736 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.5042, allocations: 236.9 kB / 0.5738 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.5042, allocations: 100.9 kB / 0.5739 GB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.5043, allocations: 7.328 kB / 0.5739 GB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.5044, allocations: 7.984 kB / 0.574 GB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.5044, allocations: 11.12 kB / 0.574 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.5044, allocations: 8 kB / 0.574 GB, free: 3.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.5046, allocations: 191.1 kB / 0.5742 GB, free: 3.055 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5046, allocations: 0 / 0.5742 GB, free: 3.055 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.5049, allocations: 32.88 kB / 0.5742 GB, free: 3.027 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 (11): * Single equations (assignments): 9 * 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.001369/0.5062, allocations: 1.218 MB / 0.5754 GB, free: 1.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.5064, allocations: 80.22 kB / 0.5755 GB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5064, allocations: 0 / 0.5755 GB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/0.5065, allocations: 42.05 kB / 0.5755 GB, free: 1.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.5068, allocations: 19.42 kB / 0.5755 GB, free: 1.758 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.5081, allocations: 1.062 MB / 0.5766 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.5084, allocations: 0.7225 MB / 0.5773 GB, free: 0 / 378.7 MB Notification: Performance of simCode: alias equations: time 6.608e-05/0.5085, allocations: 20.92 kB / 0.5773 GB, free: 15.97 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.5086, allocations: 52.86 kB / 0.5773 GB, free: 15.95 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5086, allocations: 0 / 0.5773 GB, free: 15.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.5239, allocations: 3.527 MB / 0.5808 GB, free: 12.44 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.5241, allocations: 212.6 kB / 0.581 GB, free: 12.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.071, allocations: 0 / 0.581 GB, free: 12.2 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat does not exist to compare? outputFormat=mat