Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.001068/0.001068, allocations: 177.6 kB / 8.002 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.698/1.698, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.000907/0.000907, allocations: 90.16 kB / 261.7 MB, free: 1.684 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.2129/0.2129, allocations: 43.48 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.602e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1274, allocations: 58.86 MB / 477.2 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.5142, allocations: 86.96 MB / 0.551 GB, free: 7.664 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.5145, allocations: 79.41 kB / 0.551 GB, free: 7.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01276/0.5272, allocations: 5.5 MB / 0.5564 GB, free: 3.254 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.5273, allocations: 0 / 0.5564 GB, free: 3.254 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.5273, allocations: 11.94 kB / 0.5564 GB, free: 3.242 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004118/0.5277, allocations: 409.9 kB / 0.5568 GB, free: 2.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.5278, allocations: 12.03 kB / 0.5568 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.5278, allocations: 11.81 kB / 0.5568 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.5281, allocations: 222.5 kB / 0.557 GB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.5281, allocations: 0 / 0.557 GB, free: 2.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.5282, allocations: 4 kB / 0.557 GB, free: 2.535 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.938e-05/0.5282, allocations: 15.86 kB / 0.5571 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.5283, allocations: 57.06 kB / 0.5571 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5283, allocations: 0 / 0.5571 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.5284, allocations: 0 / 0.5571 GB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5284, allocations: 4 kB / 0.5571 GB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.5287, allocations: 280 kB / 0.5574 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.697e-05/0.5288, allocations: 50.06 kB / 0.5574 GB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.5288, allocations: 20.73 kB / 0.5575 GB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.5288, allocations: 0 / 0.5575 GB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.529, allocations: 67.14 kB / 0.5575 GB, free: 2.039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.529, allocations: 3.938 kB / 0.5575 GB, free: 2.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004081/0.5294, allocations: 144.2 kB / 0.5577 GB, free: 1.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.5294, allocations: 63.28 kB / 0.5577 GB, free: 1.836 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.5296, allocations: 204.8 kB / 0.5579 GB, free: 1.652 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.5296, allocations: 29.7 kB / 0.5579 GB, free: 1.617 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.5297, allocations: 107 kB / 0.558 GB, free: 1.523 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.5297, allocations: 27.58 kB / 0.5581 GB, free: 1.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.5297, allocations: 0 / 0.5581 GB, free: 1.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.054e-05/0.5298, allocations: 326.5 kB / 0.5584 GB, free: 1.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.047e-05/0.5298, allocations: 11.75 kB / 0.5584 GB, free: 1.172 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.655e-05/0.5299, allocations: 37.14 kB / 0.5584 GB, free: 1.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.768e-05/0.5299, allocations: 19.62 kB / 0.5585 GB, free: 1.125 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5299, allocations: 0 / 0.5585 GB, free: 1.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001157/0.53, allocations: 100.6 kB / 0.5585 GB, free: 1.039 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.5301, allocations: 4 kB / 0.5586 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5301, allocations: 0 / 0.5586 GB, free: 1.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5301, allocations: 4 kB / 0.5586 GB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.5302, allocations: 12 kB / 0.5586 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.5302, allocations: 0 / 0.5586 GB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.456e-05/0.5302, allocations: 7.984 kB / 0.5586 GB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.5303, allocations: 3.953 kB / 0.5586 GB, free: 1.008 MB / 362.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 () * 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 5.096e-05/0.5303, allocations: 116.8 kB / 0.5587 GB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001117/0.5304, allocations: 89.06 kB / 0.5588 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.5305, allocations: 19.8 kB / 0.5588 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.5306, allocations: 106.5 kB / 0.5589 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5306, allocations: 4 kB / 0.5589 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5306, allocations: 7.938 kB / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5307, allocations: 0 / 0.5589 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.5309, allocations: 386 kB / 0.5593 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.531, allocations: 0 / 0.5593 GB, free: 312 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.648e-05/0.531, allocations: 8 kB / 0.5593 GB, free: 304 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.531, allocations: 4.281 kB / 0.5593 GB, free: 300 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.531, allocations: 3.984 kB / 0.5593 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.531, allocations: 3.953 kB / 0.5593 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.531, allocations: 7.938 kB / 0.5593 GB, free: 284 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.5312, allocations: 221.1 kB / 0.5595 GB, free: 56 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.997e-05/0.5313, allocations: 92.83 kB / 0.5596 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.5313, allocations: 7.938 kB / 0.5596 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.5314, allocations: 7.938 kB / 0.5596 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.5314, allocations: 4 kB / 0.5596 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.5314, allocations: 7.984 kB / 0.5596 GB, free: 15.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.5316, allocations: 158.2 kB / 0.5598 GB, free: 15.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5316, allocations: 4 kB / 0.5598 GB, free: 15.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000248/0.5318, allocations: 31.88 kB / 0.5598 GB, free: 15.76 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) * 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.001227/0.5331, allocations: 1.112 MB / 0.5609 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.5332, allocations: 47.25 kB / 0.5609 GB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5332, allocations: 4.062 kB / 0.5609 GB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.884e-05/0.5333, allocations: 35.73 kB / 0.561 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.5335, allocations: 19.98 kB / 0.561 GB, free: 14.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.534, allocations: 238.9 kB / 0.5612 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.5344, allocations: 0.7157 MB / 0.5619 GB, free: 13.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.209e-05/0.5344, allocations: 24.36 kB / 0.5619 GB, free: 13.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.5345, allocations: 38.67 kB / 0.562 GB, free: 13.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5345, allocations: 0 / 0.562 GB, free: 13.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.5554, allocations: 2.861 MB / 0.5648 GB, free: 10.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.5557, allocations: 166.5 kB / 0.5649 GB, free: 10.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.065, allocations: 0 / 0.5649 GB, free: 10.54 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat