Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.001183/0.001186, allocations: 182.7 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.892/1.892, 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.0008754/0.0008753, allocations: 98.86 kB / 270.2 MB, free: 13.37 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.2432/0.2432, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004537, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1536, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.6088, allocations: 87.72 MB / 0.5645 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.6091, allocations: 79.83 kB / 0.5646 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01536/0.6244, allocations: 5.696 MB / 0.5702 GB, free: 7.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6245, allocations: 4 kB / 0.5702 GB, free: 7.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.6245, allocations: 4 kB / 0.5702 GB, free: 7.125 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.00059/0.6251, allocations: 453.8 kB / 0.5706 GB, free: 6.645 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.6252, allocations: 8.031 kB / 0.5706 GB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.6252, allocations: 30.56 kB / 0.5706 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.6252, allocations: 15.81 kB / 0.5706 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.6256, allocations: 232.9 kB / 0.5709 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.6256, allocations: 4 kB / 0.5709 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.6256, allocations: 8 kB / 0.5709 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.6258, allocations: 55.48 kB / 0.5709 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.6258, allocations: 4 kB / 0.5709 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.6258, allocations: 0 / 0.5709 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6258, allocations: 0 / 0.5709 GB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.626e-05/0.6259, allocations: 25.23 kB / 0.571 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.6263, allocations: 309 kB / 0.5713 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.6265, allocations: 61.05 kB / 0.5713 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.6265, allocations: 0 / 0.5713 GB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.6266, allocations: 74.86 kB / 0.5714 GB, free: 5.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.6267, allocations: 0 / 0.5714 GB, free: 5.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005625/0.6272, allocations: 185.8 kB / 0.5716 GB, free: 5.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.6273, allocations: 59.39 kB / 0.5716 GB, free: 5.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.6275, allocations: 234.8 kB / 0.5718 GB, free: 5.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.6275, allocations: 28.95 kB / 0.5719 GB, free: 5.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.6276, allocations: 113.8 kB / 0.572 GB, free: 5.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.6276, allocations: 27.52 kB / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.6276, allocations: 0 / 0.572 GB, free: 5.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.959e-05/0.6277, allocations: 326 kB / 0.5723 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.552e-05/0.6278, allocations: 23.05 kB / 0.5723 GB, free: 4.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.166e-05/0.6278, allocations: 47.89 kB / 0.5724 GB, free: 4.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.326e-05/0.6279, allocations: 19.75 kB / 0.5724 GB, free: 4.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.6279, allocations: 0 / 0.5724 GB, free: 4.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001687/0.6281, allocations: 106.8 kB / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.6281, allocations: 4 kB / 0.5725 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.6281, allocations: 0 / 0.5725 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.6281, allocations: 4 kB / 0.5725 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.6282, allocations: 20.89 kB / 0.5725 GB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6282, allocations: 7.891 kB / 0.5725 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.6283, allocations: 4.938 kB / 0.5725 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.6283, allocations: 5.062 kB / 0.5726 GB, free: 4.664 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.0001123/0.6284, allocations: 133.2 kB / 0.5727 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.6285, allocations: 15.81 kB / 0.5727 GB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.6287, allocations: 132.2 kB / 0.5728 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6287, allocations: 0 / 0.5728 GB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.6287, allocations: 4 kB / 0.5728 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6287, allocations: 3.953 kB / 0.5728 GB, free: 4.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005164/0.6293, allocations: 437.5 kB / 0.5732 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6293, allocations: 384 / 0.5732 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.6293, allocations: 8 kB / 0.5733 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6293, allocations: 0 / 0.5733 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.6294, allocations: 8 kB / 0.5733 GB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.6294, allocations: 7.891 kB / 0.5733 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.6294, allocations: 4.031 kB / 0.5733 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.6296, allocations: 229.1 kB / 0.5735 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.6297, allocations: 96.86 kB / 0.5736 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.6297, allocations: 11.94 kB / 0.5736 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.6298, allocations: 96 / 0.5736 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.6299, allocations: 19.86 kB / 0.5736 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.6299, allocations: 4 kB / 0.5736 GB, free: 3.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.63, allocations: 202.4 kB / 0.5738 GB, free: 3.398 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.63, allocations: 0 / 0.5738 GB, free: 3.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.6303, allocations: 39.42 kB / 0.5738 GB, free: 3.363 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.001442/0.6318, allocations: 1.203 MB / 0.575 GB, free: 2.219 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.6319, allocations: 63.36 kB / 0.5751 GB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6319, allocations: 0 / 0.5751 GB, free: 2.172 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.878e-05/0.632, allocations: 35.47 kB / 0.5751 GB, free: 2.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.6323, allocations: 27.84 kB / 0.5751 GB, free: 2.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.6335, allocations: 1.031 MB / 0.5761 GB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.6337, allocations: 0.7199 MB / 0.5769 GB, free: 396 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.6338, allocations: 24.53 kB / 0.5769 GB, free: 372 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.283e-05/0.6339, allocations: 46.17 kB / 0.5769 GB, free: 348 kB / 378.7 MB Notification: Performance of SimCode: time 1.293e-06/0.6339, allocations: 112 / 0.5769 GB, free: 348 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.6501, allocations: 3.432 MB / 0.5803 GB, free: 12.93 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004232/0.6507, allocations: 213.8 kB / 0.5805 GB, free: 12.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.241, allocations: 0 / 0.5805 GB, free: 12.69 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat does not exist to compare? outputFormat=mat