Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.0009537/0.0009537, allocations: 184.2 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.446/1.446, 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.0009024/0.0009027, allocations: 90.81 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.2239/0.2239, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003593, allocations: 11.94 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 58.86 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5311/0.6844, allocations: 87.71 MB / 0.5645 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/0.6848, allocations: 79.39 kB / 0.5646 GB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.702, allocations: 5.462 MB / 0.5699 GB, free: 7.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.188e-06/0.7021, allocations: 0 / 0.5699 GB, free: 7.328 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.7021, allocations: 4 kB / 0.5699 GB, free: 7.324 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.0007531/0.7029, allocations: 422.7 kB / 0.5703 GB, free: 6.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.703, allocations: 16.02 kB / 0.5703 GB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.517e-05/0.703, allocations: 30.56 kB / 0.5704 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.7031, allocations: 19.25 kB / 0.5704 GB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004345/0.7035, allocations: 214.1 kB / 0.5706 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.7036, allocations: 4 kB / 0.5706 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.7036, allocations: 0 / 0.5706 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.7038, allocations: 59.8 kB / 0.5707 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.7038, allocations: 0 / 0.5707 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.7038, allocations: 7.984 kB / 0.5707 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.7038, allocations: 0 / 0.5707 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.7039, allocations: 23.3 kB / 0.5707 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.7044, allocations: 296 kB / 0.571 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.7046, allocations: 67.3 kB / 0.571 GB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.7047, allocations: 4 kB / 0.571 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001777/0.7049, allocations: 70.17 kB / 0.5711 GB, free: 6.012 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.775e-06/0.7049, allocations: 4 kB / 0.5711 GB, free: 6.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006818/0.7056, allocations: 182 kB / 0.5713 GB, free: 5.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/0.7057, allocations: 55.39 kB / 0.5713 GB, free: 5.789 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.7059, allocations: 175.6 kB / 0.5715 GB, free: 5.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.7059, allocations: 33.33 kB / 0.5715 GB, free: 5.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.537e-05/0.706, allocations: 99 kB / 0.5716 GB, free: 5.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.706, allocations: 29.39 kB / 0.5717 GB, free: 5.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.706, allocations: 0 / 0.5717 GB, free: 5.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.7062, allocations: 330.3 kB / 0.572 GB, free: 5.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.255e-05/0.7063, allocations: 18.75 kB / 0.572 GB, free: 5.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.7064, allocations: 35.64 kB / 0.572 GB, free: 5.109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.7065, allocations: 26.36 kB / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7065, allocations: 0 / 0.5721 GB, free: 5.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002428/0.7067, allocations: 103.5 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.7068, allocations: 4 kB / 0.5722 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.7068, allocations: 7.969 kB / 0.5722 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.7068, allocations: 4 kB / 0.5722 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.7069, allocations: 12 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.7069, allocations: 3.953 kB / 0.5722 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.707, allocations: 11.3 kB / 0.5722 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.707, allocations: 4 kB / 0.5722 GB, free: 4.961 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.0001535/0.7072, allocations: 125.5 kB / 0.5723 GB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.7072, allocations: 15.81 kB / 0.5723 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.7076, allocations: 127.5 kB / 0.5725 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.7076, allocations: 0 / 0.5725 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.7076, allocations: 0 / 0.5725 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.7076, allocations: 3.953 kB / 0.5725 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.7082, allocations: 410 kB / 0.5728 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.7083, allocations: 0 / 0.5728 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.7083, allocations: 15.92 kB / 0.5729 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.7083, allocations: 7.969 kB / 0.5729 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.7083, allocations: 10.31 kB / 0.5729 GB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.7084, allocations: 3.953 kB / 0.5729 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7084, allocations: 0 / 0.5729 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.7087, allocations: 217.8 kB / 0.5731 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.7088, allocations: 95.12 kB / 0.5732 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.519e-05/0.7089, allocations: 9.828 kB / 0.5732 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.709, allocations: 12.53 kB / 0.5732 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.709, allocations: 4.938 kB / 0.5732 GB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.7091, allocations: 4.75 kB / 0.5732 GB, free: 3.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.7093, allocations: 152.8 kB / 0.5734 GB, free: 3.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.7093, allocations: 0 / 0.5734 GB, free: 3.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.7096, allocations: 35.05 kB / 0.5734 GB, free: 3.734 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.001776/0.7114, allocations: 1.201 MB / 0.5746 GB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.7116, allocations: 61.55 kB / 0.5746 GB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7116, allocations: 0 / 0.5746 GB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.7117, allocations: 36.8 kB / 0.5747 GB, free: 2.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.712, allocations: 22.66 kB / 0.5747 GB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.7135, allocations: 0.9008 MB / 0.5756 GB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.7139, allocations: 0.7082 MB / 0.5763 GB, free: 0.8984 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.29e-05/0.7139, allocations: 12.55 kB / 0.5763 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.714, allocations: 38.22 kB / 0.5763 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.714, allocations: 3.938 kB / 0.5763 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.7347, allocations: 3.073 MB / 0.5793 GB, free: 13.82 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/0.735, allocations: 217.8 kB / 0.5795 GB, free: 13.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.522, allocations: 0 / 0.5795 GB, free: 13.57 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat does not exist to compare? outputFormat=mat