Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",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.001602/0.001602, 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.754/1.754, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000984/0.0009841, allocations: 91.66 kB / 267 MB, free: 9.277 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.4691/0.4691, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.144e-05, allocations: 8 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1646, allocations: 58.85 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4844/0.6491, allocations: 87.84 MB / 0.5587 GB, free: 16.26 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.6493, allocations: 72.56 kB / 0.5588 GB, free: 16.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01555/0.6649, allocations: 5.779 MB / 0.5644 GB, free: 13.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.665, allocations: 0 / 0.5644 GB, free: 13.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.665, allocations: 3.062 kB / 0.5644 GB, free: 13.05 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.00059/0.6656, allocations: 395.6 kB / 0.5648 GB, free: 12.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.717e-05/0.6657, allocations: 12.02 kB / 0.5648 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.546e-05/0.6658, allocations: 30.56 kB / 0.5648 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.6658, allocations: 11.34 kB / 0.5648 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.6662, allocations: 210.8 kB / 0.565 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.6662, allocations: 10.81 kB / 0.5651 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.6662, allocations: 8 kB / 0.5651 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.6664, allocations: 63.95 kB / 0.5651 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.6664, allocations: 3.938 kB / 0.5651 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.6665, allocations: 7.375 kB / 0.5651 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.6665, allocations: 0 / 0.5651 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.6666, allocations: 20.3 kB / 0.5651 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.667, allocations: 286.9 kB / 0.5654 GB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.6672, allocations: 54 kB / 0.5655 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.962e-05/0.6672, allocations: 19.8 kB / 0.5655 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.6672, allocations: 0 / 0.5655 GB, free: 11.85 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.6674, allocations: 66.7 kB / 0.5656 GB, free: 11.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.6674, allocations: 7.5 kB / 0.5656 GB, free: 11.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005064/0.6679, allocations: 156 kB / 0.5657 GB, free: 11.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.668, allocations: 77.11 kB / 0.5658 GB, free: 11.55 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.6681, allocations: 146.3 kB / 0.5659 GB, free: 11.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.6681, allocations: 25.7 kB / 0.566 GB, free: 11.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.6682, allocations: 94.89 kB / 0.566 GB, free: 11.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.6682, allocations: 30.75 kB / 0.5661 GB, free: 11.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.6682, allocations: 0 / 0.5661 GB, free: 11.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.6683, allocations: 326.3 kB / 0.5664 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.623e-05/0.6683, allocations: 19.06 kB / 0.5664 GB, free: 10.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.6684, allocations: 41.27 kB / 0.5664 GB, free: 10.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.669e-05/0.6684, allocations: 26.98 kB / 0.5665 GB, free: 10.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.6685, allocations: 0 / 0.5665 GB, free: 10.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000157/0.6686, allocations: 87.84 kB / 0.5665 GB, free: 10.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6686, allocations: 11.94 kB / 0.5666 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.6687, allocations: 8.062 kB / 0.5666 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6687, allocations: 1.125 kB / 0.5666 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.757e-05/0.6688, allocations: 15.94 kB / 0.5666 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.6688, allocations: 0 / 0.5666 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.6689, allocations: 7.625 kB / 0.5666 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.6689, allocations: 7.984 kB / 0.5666 GB, free: 10.76 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.576e-05/0.669, allocations: 108.4 kB / 0.5667 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.669, allocations: 7.906 kB / 0.5667 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.6692, allocations: 124.4 kB / 0.5668 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6692, allocations: 4.094 kB / 0.5668 GB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.6692, allocations: 7.922 kB / 0.5668 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.6692, allocations: 0 / 0.5668 GB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.6696, allocations: 401.8 kB / 0.5672 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6696, allocations: 192 / 0.5672 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.6696, allocations: 16 kB / 0.5672 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6696, allocations: 0 / 0.5672 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6697, allocations: 3.875 kB / 0.5672 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.6697, allocations: 11.97 kB / 0.5673 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.6697, allocations: 3.938 kB / 0.5673 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.6699, allocations: 207.4 kB / 0.5675 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.797e-05/0.6699, allocations: 96.56 kB / 0.5675 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.6699, allocations: 4 kB / 0.5676 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.67, allocations: 7.984 kB / 0.5676 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.6701, allocations: 7.312 kB / 0.5676 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.6701, allocations: 4 kB / 0.5676 GB, free: 9.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.409e-05/0.6701, allocations: 121.4 kB / 0.5677 GB, free: 9.641 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6702, allocations: 0 / 0.5677 GB, free: 9.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002717/0.6704, allocations: 39.17 kB / 0.5677 GB, free: 9.605 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.001304/0.6717, allocations: 1.176 MB / 0.5689 GB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.6719, allocations: 62.5 kB / 0.5689 GB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6719, allocations: 0 / 0.5689 GB, free: 8.453 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.154e-05/0.672, allocations: 29.69 kB / 0.569 GB, free: 8.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.6722, allocations: 25.11 kB / 0.569 GB, free: 8.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.6727, allocations: 197.5 kB / 0.5692 GB, free: 8.203 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.673, allocations: 0.7004 MB / 0.5699 GB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.006e-05/0.673, allocations: 22 kB / 0.5699 GB, free: 7.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.6731, allocations: 34.23 kB / 0.5699 GB, free: 7.434 MB / 394.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6731, allocations: 4 kB / 0.5699 GB, free: 7.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.69, allocations: 3.104 MB / 0.5729 GB, free: 4.355 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.6903, allocations: 188.3 kB / 0.5731 GB, free: 4.129 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.388, allocations: 0 / 0.5731 GB, free: 4.129 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat does not exist to compare? outputFormat=mat