Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 221.3 MB / 236 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 79.92 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2612/0.2612, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.578e-05/4.581e-05, allocations: 8.203 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1693, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.6422, allocations: 89.21 MB / 0.5889 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.6425, allocations: 71.97 kB / 0.589 GB, free: 15.97 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.6581, allocations: 5.637 MB / 0.5945 GB, free: 10.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6581, allocations: 4 kB / 0.5945 GB, free: 10.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.6581, allocations: 0 / 0.5945 GB, free: 10.34 MB / 410.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.0005194/0.6586, allocations: 414.2 kB / 0.5949 GB, free: 9.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001074/0.6588, allocations: 8.031 kB / 0.5949 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.6588, allocations: 34.56 kB / 0.5949 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.6589, allocations: 11.81 kB / 0.5949 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003382/0.6592, allocations: 207.6 kB / 0.5951 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.6592, allocations: 11.95 kB / 0.5952 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.6593, allocations: 0 / 0.5952 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.6594, allocations: 57.61 kB / 0.5952 GB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.6594, allocations: 8 kB / 0.5952 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.6594, allocations: 3.938 kB / 0.5952 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.6594, allocations: 0 / 0.5952 GB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.6595, allocations: 19.98 kB / 0.5952 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000409/0.6599, allocations: 296.9 kB / 0.5955 GB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.6601, allocations: 54.61 kB / 0.5956 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.6601, allocations: 24.98 kB / 0.5956 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.6602, allocations: 3.984 kB / 0.5956 GB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.6603, allocations: 59.41 kB / 0.5957 GB, free: 8.977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.6603, allocations: 0 / 0.5957 GB, free: 8.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000469/0.6608, allocations: 165.1 kB / 0.5958 GB, free: 8.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.6609, allocations: 55.41 kB / 0.5959 GB, free: 8.742 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.6611, allocations: 183.7 kB / 0.596 GB, free: 8.551 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.6611, allocations: 29.69 kB / 0.5961 GB, free: 8.516 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.6612, allocations: 104.1 kB / 0.5962 GB, free: 8.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.6612, allocations: 23.64 kB / 0.5962 GB, free: 8.387 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.6612, allocations: 4 kB / 0.5962 GB, free: 8.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6614, allocations: 326.8 kB / 0.5965 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.6614, allocations: 16 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.6615, allocations: 37.66 kB / 0.5966 GB, free: 7.996 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/0.6615, allocations: 27.98 kB / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6615, allocations: 0 / 0.5966 GB, free: 7.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001557/0.6617, allocations: 97.58 kB / 0.5967 GB, free: 7.867 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6617, allocations: 12.11 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6617, allocations: 0 / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.6618, allocations: 3.938 kB / 0.5967 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.6619, allocations: 16 kB / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.6619, allocations: 0 / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.6619, allocations: 4 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-06/0.662, allocations: 8.016 kB / 0.5967 GB, free: 7.824 MB / 410.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 7.619e-05/0.662, allocations: 114.2 kB / 0.5968 GB, free: 7.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.6621, allocations: 11.81 kB / 0.5968 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.6623, allocations: 119.1 kB / 0.597 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6623, allocations: 4 kB / 0.597 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6623, allocations: 0 / 0.597 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6623, allocations: 0 / 0.597 GB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.6628, allocations: 411.3 kB / 0.5974 GB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.6628, allocations: 7.938 kB / 0.5974 GB, free: 7.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.6629, allocations: 15.92 kB / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6629, allocations: 0 / 0.5974 GB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.6629, allocations: 4 kB / 0.5974 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6629, allocations: 4.234 kB / 0.5974 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6629, allocations: 0 / 0.5974 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.6631, allocations: 225.8 kB / 0.5976 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.6632, allocations: 93 kB / 0.5977 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.6633, allocations: 4 kB / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.6633, allocations: 8 kB / 0.5977 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.6634, allocations: 7.938 kB / 0.5977 GB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.6634, allocations: 4 kB / 0.5977 GB, free: 6.699 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001343/0.6636, allocations: 148.9 kB / 0.5979 GB, free: 6.555 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6636, allocations: 4 kB / 0.5979 GB, free: 6.551 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.6638, allocations: 35.94 kB / 0.5979 GB, free: 6.516 MB / 410.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.001596/0.6654, allocations: 1.136 MB / 0.599 GB, free: 5.473 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.6656, allocations: 55.94 kB / 0.5991 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6656, allocations: 3.938 kB / 0.5991 GB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.6657, allocations: 27.94 kB / 0.5991 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.666, allocations: 42.05 kB / 0.5991 GB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000648/0.6667, allocations: 232.6 kB / 0.5993 GB, free: 5.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.667, allocations: 0.7082 MB / 0.6 GB, free: 4.355 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.711e-05/0.6671, allocations: 24.66 kB / 0.6001 GB, free: 4.332 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.6672, allocations: 35.42 kB / 0.6001 GB, free: 4.297 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6672, allocations: 4 kB / 0.6001 GB, free: 4.293 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.6834, allocations: 3.067 MB / 0.6031 GB, free: 1.312 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.6837, allocations: 192.1 kB / 0.6033 GB, free: 1.078 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.428, allocations: 4 kB / 0.6033 GB, free: 1.074 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat