Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.001267/0.001267, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.759/1.759, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.001025/0.001024, allocations: 89.03 kB / 267.1 MB, free: 9.281 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.4146/0.4146, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.581e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.148, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5027/0.6508, allocations: 87.62 MB / 0.5585 GB, free: 16.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.6511, allocations: 76.05 kB / 0.5585 GB, free: 16.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01422/0.6654, allocations: 5.361 MB / 0.5638 GB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.6654, allocations: 0 / 0.5638 GB, free: 13.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.6654, allocations: 4 kB / 0.5638 GB, free: 13.37 MB / 394.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.0003914/0.6658, allocations: 403.7 kB / 0.5642 GB, free: 12.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.6659, allocations: 8.031 kB / 0.5642 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.6659, allocations: 31.73 kB / 0.5642 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.666, allocations: 11.34 kB / 0.5642 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.6663, allocations: 221.4 kB / 0.5644 GB, free: 12.67 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.6663, allocations: 4 kB / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.6663, allocations: 0 / 0.5644 GB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.6665, allocations: 62.86 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.6665, allocations: 0 / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.6665, allocations: 1.375 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.6665, allocations: 4 kB / 0.5645 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.458e-05/0.6666, allocations: 19.64 kB / 0.5645 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.667, allocations: 286 kB / 0.5648 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.6671, allocations: 60.86 kB / 0.5648 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.838e-05/0.6671, allocations: 19.86 kB / 0.5649 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.6672, allocations: 11.94 kB / 0.5649 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.6673, allocations: 63.08 kB / 0.5649 GB, free: 12.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.6673, allocations: 0 / 0.5649 GB, free: 12.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004423/0.6678, allocations: 168.5 kB / 0.5651 GB, free: 11.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.6678, allocations: 51.41 kB / 0.5651 GB, free: 11.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.6679, allocations: 170.5 kB / 0.5653 GB, free: 11.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.668, allocations: 25.7 kB / 0.5653 GB, free: 11.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.668, allocations: 106.3 kB / 0.5654 GB, free: 11.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.668, allocations: 23.02 kB / 0.5655 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.668, allocations: 0 / 0.5655 GB, free: 11.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.6681, allocations: 325.4 kB / 0.5658 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.6681, allocations: 23.17 kB / 0.5658 GB, free: 11.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.207e-05/0.6682, allocations: 39.41 kB / 0.5658 GB, free: 11.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.064e-05/0.6682, allocations: 21.98 kB / 0.5658 GB, free: 11.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6683, allocations: 4 kB / 0.5659 GB, free: 11.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001255/0.6684, allocations: 94.25 kB / 0.5659 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.6684, allocations: 8 kB / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6684, allocations: 0 / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.6684, allocations: 0 / 0.566 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.6685, allocations: 19.92 kB / 0.566 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6686, allocations: 7.953 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.38e-05/0.6686, allocations: 3.438 kB / 0.566 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.6686, allocations: 4 kB / 0.566 GB, free: 11.12 MB / 394.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 6.577e-05/0.6687, allocations: 113.9 kB / 0.5661 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.6687, allocations: 7.906 kB / 0.5661 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/0.6689, allocations: 123.3 kB / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6689, allocations: 0 / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.669, allocations: 0 / 0.5662 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.669, allocations: 9.156 kB / 0.5662 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.6693, allocations: 403.9 kB / 0.5666 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.6693, allocations: 8.016 kB / 0.5666 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.6694, allocations: 12 kB / 0.5666 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.6694, allocations: 0 / 0.5666 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.6694, allocations: 3.953 kB / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6694, allocations: 7.938 kB / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6694, allocations: 0 / 0.5666 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.6696, allocations: 224 kB / 0.5669 GB, free: 10.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.968e-05/0.6696, allocations: 92.44 kB / 0.5669 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.6697, allocations: 7.953 kB / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.6697, allocations: 0 / 0.567 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.6698, allocations: 7.984 kB / 0.567 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.6698, allocations: 7.125 kB / 0.567 GB, free: 10.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.085e-05/0.6699, allocations: 138.6 kB / 0.5671 GB, free: 9.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6699, allocations: 0 / 0.5671 GB, free: 9.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.6701, allocations: 31.06 kB / 0.5671 GB, free: 9.953 MB / 394.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.001207/0.6713, allocations: 1.147 MB / 0.5682 GB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.6715, allocations: 52.62 kB / 0.5683 GB, free: 8.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6715, allocations: 4 kB / 0.5683 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.015e-05/0.6716, allocations: 33.31 kB / 0.5683 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.6718, allocations: 23.92 kB / 0.5684 GB, free: 8.789 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.6723, allocations: 232.6 kB / 0.5686 GB, free: 8.543 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.6724, allocations: 0.7082 MB / 0.5693 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.6725, allocations: 20.83 kB / 0.5693 GB, free: 7.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.6726, allocations: 37.17 kB / 0.5693 GB, free: 7.77 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.6726, allocations: 0 / 0.5693 GB, free: 7.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.6873, allocations: 3.007 MB / 0.5723 GB, free: 4.797 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.6875, allocations: 183.6 kB / 0.5724 GB, free: 4.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.371, allocations: 4 kB / 0.5724 GB, free: 4.57 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat