Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.0009999/0.0009999, 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.678/1.678, 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.0009422/0.0009424, allocations: 98.14 kB / 261.8 MB, free: 1.688 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.2166/0.2166, allocations: 43.49 MB / 353.2 MB, free: 304 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.103e-05, allocations: 8 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3841/0.5161, allocations: 86.83 MB / 0.5508 GB, free: 7.789 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.5163, allocations: 68.09 kB / 0.5509 GB, free: 7.754 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01408/0.5304, allocations: 6.393 MB / 0.5571 GB, free: 2.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.5305, allocations: 0 / 0.5571 GB, free: 2.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.321e-05/0.5305, allocations: 4 kB / 0.5571 GB, free: 2.586 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.0005563/0.5311, allocations: 0.5973 MB / 0.5577 GB, free: 1.973 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5311, allocations: 12.03 kB / 0.5577 GB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.461e-05/0.5312, allocations: 51.34 kB / 0.5578 GB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.5318, allocations: 473 kB / 0.5582 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.5318, allocations: 4 kB / 0.5582 GB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.5319, allocations: 4 kB / 0.5582 GB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.268e-05/0.5319, allocations: 27.42 kB / 0.5583 GB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.5321, allocations: 78.12 kB / 0.5583 GB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.5321, allocations: 0 / 0.5583 GB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5321, allocations: 8 kB / 0.5583 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5321, allocations: 0 / 0.5583 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.5324, allocations: 361.6 kB / 0.5587 GB, free: 1.012 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.5325, allocations: 94.59 kB / 0.5588 GB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.5326, allocations: 36.72 kB / 0.5588 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.5326, allocations: 0 / 0.5588 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.5327, allocations: 108 kB / 0.5589 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.5328, allocations: 0 / 0.5589 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.000259/0.533, allocations: 158.7 kB / 0.5591 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.5331, allocations: 85.11 kB / 0.5592 GB, free: 0.5352 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009457/0.534, allocations: 0.8752 MB / 0.56 GB, free: 15.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.534, allocations: 29.7 kB / 0.56 GB, free: 15.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.5342, allocations: 230.7 kB / 0.5603 GB, free: 15.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.5342, allocations: 27.5 kB / 0.5603 GB, free: 15.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.5342, allocations: 0 / 0.5603 GB, free: 15.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5344, allocations: 372 kB / 0.5606 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.5344, allocations: 22.73 kB / 0.5607 GB, free: 15.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.002e-05/0.5345, allocations: 51.94 kB / 0.5607 GB, free: 15.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.657e-05/0.5346, allocations: 34.23 kB / 0.5607 GB, free: 15.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5346, allocations: 3.984 kB / 0.5607 GB, free: 15.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002139/0.5348, allocations: 149.7 kB / 0.5609 GB, free: 15.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5348, allocations: 8 kB / 0.5609 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5348, allocations: 0 / 0.5609 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5349, allocations: 4.062 kB / 0.5609 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.535, allocations: 30.98 kB / 0.5609 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.535, allocations: 0 / 0.5609 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.5351, allocations: 11.91 kB / 0.5609 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.5351, allocations: 4 kB / 0.5609 GB, free: 15.04 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 9.065e-05/0.5352, allocations: 116.7 kB / 0.5611 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000224/0.5355, allocations: 160.1 kB / 0.5612 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.5355, allocations: 55.34 kB / 0.5613 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.5358, allocations: 192.7 kB / 0.5614 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5359, allocations: 0 / 0.5614 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5359, allocations: 3.938 kB / 0.5614 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5359, allocations: 0 / 0.5614 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.5362, allocations: 366.7 kB / 0.5618 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.5362, allocations: 0 / 0.5618 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.5362, allocations: 8.375 kB / 0.5618 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5363, allocations: 7.984 kB / 0.5618 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.5363, allocations: 0 / 0.5618 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.5363, allocations: 11.94 kB / 0.5618 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5363, allocations: 0 / 0.5618 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.5366, allocations: 207.2 kB / 0.562 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/0.5368, allocations: 196.2 kB / 0.5622 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.671e-05/0.5368, allocations: 0 / 0.5622 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.5369, allocations: 11.98 kB / 0.5622 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.537, allocations: 8 kB / 0.5622 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.537, allocations: 11.11 kB / 0.5622 GB, free: 13.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000674/0.5377, allocations: 0.6925 MB / 0.5629 GB, free: 13.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.623e-06/0.5377, allocations: 0 / 0.5629 GB, free: 13.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002905/0.538, allocations: 83.44 kB / 0.563 GB, free: 13.18 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.001153/0.5392, allocations: 1.054 MB / 0.564 GB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.5393, allocations: 72.98 kB / 0.5641 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5393, allocations: 0 / 0.5641 GB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.075e-05/0.5394, allocations: 40.61 kB / 0.5641 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.5398, allocations: 64.17 kB / 0.5642 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.541, allocations: 0.8727 MB / 0.565 GB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.5414, allocations: 0.8457 MB / 0.5659 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.5415, allocations: 91.06 kB / 0.566 GB, free: 10.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.5417, allocations: 159.1 kB / 0.5661 GB, free: 10.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5417, allocations: 3.938 kB / 0.5661 GB, free: 10.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.5714, allocations: 7.972 MB / 0.5739 GB, free: 2.258 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.5717, allocations: 160.9 kB / 0.5741 GB, free: 2.066 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.979/2.551, allocations: 0 / 0.5741 GB, free: 2.066 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat