Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.002111/0.002112, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 94.62 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2142/0.2142, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.969e-05, allocations: 8 kB / 418.4 MB, free: 28.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3839/0.4903, allocations: 86.83 MB / 0.5508 GB, free: 7.848 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.4907, allocations: 70.44 kB / 0.5509 GB, free: 7.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01455/0.5053, allocations: 6.437 MB / 0.5572 GB, free: 2.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.5053, allocations: 0 / 0.5572 GB, free: 2.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.333e-05/0.5053, allocations: 8 kB / 0.5572 GB, free: 2.598 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005448/0.5059, allocations: 0.5953 MB / 0.5578 GB, free: 1.984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5059, allocations: 19.97 kB / 0.5578 GB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.506, allocations: 55.34 kB / 0.5578 GB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.5067, allocations: 483.3 kB / 0.5583 GB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.5067, allocations: 0 / 0.5583 GB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.5068, allocations: 4 kB / 0.5583 GB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.557e-05/0.5068, allocations: 26.98 kB / 0.5583 GB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.507, allocations: 89.11 kB / 0.5584 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.507, allocations: 0 / 0.5584 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.507, allocations: 4 kB / 0.5584 GB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.507, allocations: 0 / 0.5584 GB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.5073, allocations: 362.1 kB / 0.5588 GB, free: 1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.5074, allocations: 86.03 kB / 0.5588 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.5075, allocations: 44.3 kB / 0.5589 GB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.5075, allocations: 3.938 kB / 0.5589 GB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.5076, allocations: 102.4 kB / 0.559 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.5077, allocations: 0 / 0.559 GB, free: 0.7656 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002818/0.5079, allocations: 162.9 kB / 0.5591 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.508, allocations: 85.11 kB / 0.5592 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.509, allocations: 0.903 MB / 0.5601 GB, free: 15.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.509, allocations: 29.7 kB / 0.5601 GB, free: 15.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.5092, allocations: 229.3 kB / 0.5604 GB, free: 15.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.5092, allocations: 22.66 kB / 0.5604 GB, free: 15.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.5092, allocations: 0 / 0.5604 GB, free: 15.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.5094, allocations: 377.3 kB / 0.5607 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.207e-05/0.5095, allocations: 19.12 kB / 0.5608 GB, free: 15.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.5095, allocations: 57.92 kB / 0.5608 GB, free: 15.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.686e-05/0.5096, allocations: 35.23 kB / 0.5608 GB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5096, allocations: 0 / 0.5608 GB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002243/0.5098, allocations: 154.8 kB / 0.561 GB, free: 15.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5098, allocations: 4 kB / 0.561 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5099, allocations: 4 kB / 0.561 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5099, allocations: 4.062 kB / 0.561 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.51, allocations: 20.23 kB / 0.561 GB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.51, allocations: 4 kB / 0.561 GB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.5101, allocations: 19.84 kB / 0.561 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.5102, allocations: 4 kB / 0.561 GB, free: 15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete 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.0001352/0.5103, allocations: 124.5 kB / 0.5612 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002376/0.5105, allocations: 153 kB / 0.5613 GB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.5106, allocations: 51.34 kB / 0.5614 GB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.5109, allocations: 188.8 kB / 0.5615 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.5109, allocations: 4 kB / 0.5615 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.5109, allocations: 0 / 0.5615 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.511, allocations: 3.938 kB / 0.5615 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003389/0.5113, allocations: 371.2 kB / 0.5619 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5113, allocations: 0 / 0.5619 GB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.207e-05/0.5114, allocations: 11.94 kB / 0.5619 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5114, allocations: 0 / 0.5619 GB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.5114, allocations: 11.86 kB / 0.5619 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5114, allocations: 0 / 0.5619 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5114, allocations: 4 kB / 0.5619 GB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.5117, allocations: 207.9 kB / 0.5621 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.5119, allocations: 199.1 kB / 0.5623 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.512, allocations: 4.25 kB / 0.5623 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.5121, allocations: 8 kB / 0.5623 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.5121, allocations: 11.98 kB / 0.5623 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.5122, allocations: 4 kB / 0.5623 GB, free: 13.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007309/0.5129, allocations: 0.717 MB / 0.563 GB, free: 13.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5129, allocations: 3.938 kB / 0.563 GB, free: 13.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003026/0.5132, allocations: 83.31 kB / 0.5631 GB, free: 13.12 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001195/0.5144, allocations: 1.06 MB / 0.5642 GB, free: 12.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.5146, allocations: 73.42 kB / 0.5642 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5146, allocations: 0 / 0.5642 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.117e-05/0.5147, allocations: 37.88 kB / 0.5643 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.515, allocations: 69.84 kB / 0.5643 GB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5163, allocations: 0.8929 MB / 0.5652 GB, free: 11.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.5167, allocations: 0.8467 MB / 0.566 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.5169, allocations: 98.12 kB / 0.5661 GB, free: 10.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.517, allocations: 162.9 kB / 0.5663 GB, free: 10.14 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.517, allocations: 0 / 0.5663 GB, free: 10.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.5438, allocations: 8.132 MB / 0.5742 GB, free: 2.016 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.544, allocations: 165 kB / 0.5744 GB, free: 1.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.582, allocations: 4 kB / 0.5744 GB, free: 1.816 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat