Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15",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.001425/0.001425, allocations: 177.8 kB / 17.06 MB, free: 5.094 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.347/1.347, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009557/0.0009555, allocations: 102.5 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3276/0.3276, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 12 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.3988, allocations: 61.9 MB / 0.5096 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.5236, allocations: 89.25 MB / 0.5968 GB, free: 5.852 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.5239, allocations: 87.91 kB / 0.5969 GB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01466/0.5386, allocations: 5.453 MB / 0.6022 GB, free: 328 kB / 410.7 MB Notification: Performance of FrontEnd: time 4.268e-06/0.5387, allocations: 0 / 0.6022 GB, free: 328 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.5387, allocations: 0 / 0.6022 GB, free: 328 kB / 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.0005507/0.5393, allocations: 418.9 kB / 0.6026 GB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5393, allocations: 11.97 kB / 0.6026 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.833e-05/0.5394, allocations: 38.56 kB / 0.6027 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.5394, allocations: 7.906 kB / 0.6027 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.5397, allocations: 206.8 kB / 0.6029 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.5397, allocations: 11.94 kB / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.5398, allocations: 0 / 0.6029 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.5399, allocations: 53.67 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.5399, allocations: 0 / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.54, allocations: 8 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.54, allocations: 3.984 kB / 0.6029 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.531e-05/0.5401, allocations: 19.98 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.5404, allocations: 292.8 kB / 0.6032 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.5406, allocations: 58.67 kB / 0.6033 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.5406, allocations: 4 kB / 0.6033 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.5408, allocations: 67.5 kB / 0.6034 GB, free: 14.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.5408, allocations: 0 / 0.6034 GB, free: 14.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000563/0.5414, allocations: 185.2 kB / 0.6035 GB, free: 14.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.5414, allocations: 51.41 kB / 0.6036 GB, free: 14.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.5416, allocations: 165 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.5416, allocations: 25.7 kB / 0.6038 GB, free: 14.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.5417, allocations: 108 kB / 0.6039 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.5417, allocations: 19.8 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.5417, allocations: 4 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.5419, allocations: 322.8 kB / 0.6042 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/0.5419, allocations: 23.98 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.542, allocations: 41.64 kB / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.105e-05/0.5421, allocations: 28.19 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.5421, allocations: 0 / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001791/0.5423, allocations: 105.4 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5423, allocations: 8 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5423, allocations: 0 / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5423, allocations: 384 / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.892e-05/0.5424, allocations: 12 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5424, allocations: 11.92 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.5425, allocations: 8 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.5425, allocations: 4 kB / 0.6044 GB, free: 13.82 MB / 426.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.0001013/0.5426, allocations: 136.2 kB / 0.6046 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.5426, allocations: 7.906 kB / 0.6046 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.5429, allocations: 122.3 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5429, allocations: 0 / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5429, allocations: 0 / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5429, allocations: 4 kB / 0.6047 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.5434, allocations: 415.2 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5434, allocations: 0 / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.806e-05/0.5434, allocations: 8 kB / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.5435, allocations: 4 kB / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.5435, allocations: 0 / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5435, allocations: 0 / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5435, allocations: 3.984 kB / 0.6051 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.5437, allocations: 229.9 kB / 0.6053 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.5438, allocations: 93 kB / 0.6054 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.5438, allocations: 4 kB / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.5439, allocations: 4 kB / 0.6054 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.544, allocations: 11.94 kB / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.544, allocations: 384 / 0.6054 GB, free: 12.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.5441, allocations: 131.2 kB / 0.6056 GB, free: 12.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5441, allocations: 4 kB / 0.6056 GB, free: 12.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.5444, allocations: 35.98 kB / 0.6056 GB, free: 12.51 MB / 426.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.001459/0.5458, allocations: 1.198 MB / 0.6068 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.546, allocations: 55.97 kB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.546, allocations: 0 / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.5461, allocations: 35.92 kB / 0.6069 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.5464, allocations: 31.03 kB / 0.6069 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.5475, allocations: 0.8424 MB / 0.6077 GB, free: 10.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.5478, allocations: 0.7002 MB / 0.6084 GB, free: 9.715 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.504e-05/0.5479, allocations: 20.53 kB / 0.6084 GB, free: 9.695 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.548, allocations: 35.42 kB / 0.6084 GB, free: 9.66 MB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.548, allocations: 0 / 0.6084 GB, free: 9.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.5623, allocations: 2.922 MB / 0.6113 GB, free: 6.875 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/0.5627, allocations: 210.5 kB / 0.6115 GB, free: 6.633 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.56/2.123, allocations: 4 kB / 0.6115 GB, free: 6.629 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat does not exist to compare? outputFormat=mat