Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.001248/0.001248, allocations: 179.6 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.458/1.458, allocations: 221.3 MB / 236 MB, free: 2.977 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.0009572/0.000957, allocations: 95.5 kB / 287 MB, free: 256 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.2188/0.2188, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.05e-05, allocations: 4.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1555, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5836, allocations: 89.06 MB / 0.5888 GB, free: 208 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5839, allocations: 75.95 kB / 0.5889 GB, free: 132 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01753/0.6015, allocations: 6.691 MB / 0.5954 GB, free: 9.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6015, allocations: 0 / 0.5954 GB, free: 9.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.988e-05/0.6016, allocations: 12 kB / 0.5954 GB, free: 9.441 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008057/0.6024, allocations: 0.6064 MB / 0.596 GB, free: 8.789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.6024, allocations: 8.031 kB / 0.596 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.429e-05/0.6025, allocations: 38.5 kB / 0.596 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.6026, allocations: 51.44 kB / 0.5961 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.6035, allocations: 491 kB / 0.5966 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.6035, allocations: 4 kB / 0.5966 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.6036, allocations: 4 kB / 0.5966 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.6038, allocations: 87.38 kB / 0.5966 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.6038, allocations: 0 / 0.5966 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.6038, allocations: 0 / 0.5966 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.6038, allocations: 4 kB / 0.5966 GB, free: 8.051 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.6039, allocations: 31.98 kB / 0.5967 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.6044, allocations: 390.3 kB / 0.597 GB, free: 7.586 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.6046, allocations: 97.16 kB / 0.5971 GB, free: 7.473 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.6047, allocations: 45.89 kB / 0.5972 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.6047, allocations: 0 / 0.5972 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.6049, allocations: 105 kB / 0.5973 GB, free: 7.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.6049, allocations: 0 / 0.5973 GB, free: 7.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003711/0.6053, allocations: 168.9 kB / 0.5974 GB, free: 7.129 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.6054, allocations: 85.11 kB / 0.5975 GB, free: 7.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001293/0.6067, allocations: 0.9305 MB / 0.5984 GB, free: 6.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.6067, allocations: 29.7 kB / 0.5985 GB, free: 6.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.6069, allocations: 228.1 kB / 0.5987 GB, free: 5.828 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.6069, allocations: 31.64 kB / 0.5987 GB, free: 5.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.607, allocations: 0 / 0.5987 GB, free: 5.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.6071, allocations: 370.8 kB / 0.5991 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.6072, allocations: 24 kB / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.6073, allocations: 59.36 kB / 0.5991 GB, free: 5.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.6073, allocations: 31.98 kB / 0.5992 GB, free: 5.301 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6073, allocations: 0 / 0.5992 GB, free: 5.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000245/0.6076, allocations: 173 kB / 0.5993 GB, free: 5.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.6076, allocations: 5.094 kB / 0.5993 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.6076, allocations: 8.047 kB / 0.5994 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6077, allocations: 4 kB / 0.5994 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.6078, allocations: 19.94 kB / 0.5994 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.6078, allocations: 7.938 kB / 0.5994 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.6079, allocations: 11.89 kB / 0.5994 GB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.6079, allocations: 4 kB / 0.5994 GB, free: 5.066 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.731e-05/0.6081, allocations: 120.8 kB / 0.5995 GB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.6081, allocations: 51.39 kB / 0.5996 GB, free: 4.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.6085, allocations: 201.5 kB / 0.5998 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.6085, allocations: 4 kB / 0.5998 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6085, allocations: 0 / 0.5998 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6085, allocations: 0 / 0.5998 GB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.6089, allocations: 389.3 kB / 0.6001 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.6089, allocations: 0 / 0.6001 GB, free: 4.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.202e-05/0.609, allocations: 19.92 kB / 0.6001 GB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.609, allocations: 7.953 kB / 0.6002 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.609, allocations: 0 / 0.6002 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.609, allocations: 0 / 0.6002 GB, free: 4.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.609, allocations: 8 kB / 0.6002 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.6093, allocations: 219 kB / 0.6004 GB, free: 3.973 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.6097, allocations: 196.3 kB / 0.6006 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.6097, allocations: 4.25 kB / 0.6006 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.6098, allocations: 19.98 kB / 0.6006 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/0.6099, allocations: 11.98 kB / 0.6006 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.6099, allocations: 4 kB / 0.6006 GB, free: 3.723 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009048/0.6108, allocations: 0.7474 MB / 0.6013 GB, free: 2.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6108, allocations: 4 kB / 0.6013 GB, free: 2.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.6112, allocations: 76 kB / 0.6014 GB, free: 2.898 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001514/0.6127, allocations: 1.095 MB / 0.6025 GB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.6129, allocations: 79.92 kB / 0.6026 GB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6129, allocations: 0 / 0.6026 GB, free: 1.793 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.613, allocations: 43.98 kB / 0.6026 GB, free: 1.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.6134, allocations: 61.09 kB / 0.6027 GB, free: 1.691 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.6148, allocations: 0.9062 MB / 0.6035 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.6153, allocations: 0.8546 MB / 0.6044 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.6154, allocations: 86.94 kB / 0.6045 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.6157, allocations: 155.4 kB / 0.6046 GB, free: 15.62 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6157, allocations: 0 / 0.6046 GB, free: 15.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.6384, allocations: 9.047 MB / 0.6134 GB, free: 6.664 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.6387, allocations: 190.6 kB / 0.6136 GB, free: 6.438 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.245/2.884, allocations: 3.938 kB / 0.6136 GB, free: 6.434 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat does not exist to compare? outputFormat=mat