Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.001141/0.001141, allocations: 180.4 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.471/1.471, allocations: 221.3 MB / 236 MB, free: 2.973 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.001004/0.001004, allocations: 98 kB / 287 MB, free: 252 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.1989/0.1989, allocations: 44.16 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.66e-05, allocations: 8.219 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4489/0.5786, allocations: 89.06 MB / 0.5888 GB, free: 204 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.5789, allocations: 75.95 kB / 0.5889 GB, free: 128 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01789/0.5968, allocations: 6.651 MB / 0.5953 GB, free: 9.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5969, allocations: 0 / 0.5953 GB, free: 9.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.872e-05/0.5969, allocations: 8 kB / 0.5954 GB, free: 9.484 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.0007258/0.5976, allocations: 0.5948 MB / 0.5959 GB, free: 8.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.5977, allocations: 12.03 kB / 0.5959 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.839e-05/0.5978, allocations: 30.56 kB / 0.596 GB, free: 8.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.501e-05/0.5979, allocations: 55.28 kB / 0.596 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.5987, allocations: 479.1 kB / 0.5965 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.5987, allocations: 3.984 kB / 0.5965 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.5988, allocations: 8 kB / 0.5965 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.5989, allocations: 87.36 kB / 0.5966 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.599, allocations: 0 / 0.5966 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.599, allocations: 0 / 0.5966 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.599, allocations: 7.984 kB / 0.5966 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.942e-05/0.5991, allocations: 27.98 kB / 0.5966 GB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.5995, allocations: 378.3 kB / 0.597 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.5997, allocations: 105.2 kB / 0.5971 GB, free: 7.539 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.5998, allocations: 41.8 kB / 0.5971 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.5998, allocations: 4 kB / 0.5971 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.6, allocations: 101 kB / 0.5972 GB, free: 7.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.6, allocations: 4 kB / 0.5972 GB, free: 7.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003403/0.6004, allocations: 165 kB / 0.5974 GB, free: 7.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.6004, allocations: 77.11 kB / 0.5974 GB, free: 7.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.6017, allocations: 0.9108 MB / 0.5983 GB, free: 6.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.6017, allocations: 29.7 kB / 0.5984 GB, free: 6.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.6019, allocations: 232.1 kB / 0.5986 GB, free: 5.926 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.602, allocations: 27.64 kB / 0.5986 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.602, allocations: 4 kB / 0.5986 GB, free: 5.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.6022, allocations: 366.8 kB / 0.599 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.6022, allocations: 24 kB / 0.599 GB, free: 5.504 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.6023, allocations: 55.42 kB / 0.599 GB, free: 5.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.622e-05/0.6024, allocations: 31.98 kB / 0.5991 GB, free: 5.406 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.6024, allocations: 3.938 kB / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002453/0.6026, allocations: 169.1 kB / 0.5992 GB, free: 5.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6027, allocations: 5.406 kB / 0.5992 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.6027, allocations: 0 / 0.5992 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6027, allocations: 4 kB / 0.5992 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.6028, allocations: 23.92 kB / 0.5993 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.6028, allocations: 7.938 kB / 0.5993 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.603, allocations: 15.97 kB / 0.5993 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.603, allocations: 7.984 kB / 0.5993 GB, free: 5.168 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 0.0001025/0.6031, allocations: 112.8 kB / 0.5994 GB, free: 5.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.588e-05/0.6032, allocations: 59.33 kB / 0.5995 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.6035, allocations: 197.3 kB / 0.5997 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6035, allocations: 0 / 0.5997 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6035, allocations: 0 / 0.5997 GB, free: 4.789 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.6035, allocations: 4 kB / 0.5997 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.6039, allocations: 381.3 kB / 0.6 GB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6039, allocations: 4 kB / 0.6 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.604, allocations: 11.98 kB / 0.6 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.604, allocations: 7.953 kB / 0.6 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.604, allocations: 0 / 0.6 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.604, allocations: 0 / 0.6 GB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.604, allocations: 7.938 kB / 0.6001 GB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.6043, allocations: 219.2 kB / 0.6003 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.6046, allocations: 188.5 kB / 0.6004 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.803e-05/0.6047, allocations: 12 kB / 0.6005 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.6048, allocations: 11.98 kB / 0.6005 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.6049, allocations: 7.984 kB / 0.6005 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.6049, allocations: 4 kB / 0.6005 GB, free: 3.852 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008605/0.6058, allocations: 0.724 MB / 0.6012 GB, free: 3.129 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6058, allocations: 0 / 0.6012 GB, free: 3.129 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003129/0.6061, allocations: 79.94 kB / 0.6013 GB, free: 3.051 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.001457/0.6075, allocations: 1.117 MB / 0.6023 GB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.6078, allocations: 75.92 kB / 0.6024 GB, free: 1.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6078, allocations: 4.125 kB / 0.6024 GB, free: 1.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.647e-05/0.6079, allocations: 43.94 kB / 0.6025 GB, free: 1.887 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.6083, allocations: 71.84 kB / 0.6025 GB, free: 1.824 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.6097, allocations: 0.8633 MB / 0.6034 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.6102, allocations: 0.8546 MB / 0.6042 GB, free: 40 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.6104, allocations: 82.95 kB / 0.6043 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.6106, allocations: 159.4 kB / 0.6044 GB, free: 15.8 MB / 426.7 MB Notification: Performance of SimCode: time 7.52e-07/0.6106, allocations: 0 / 0.6044 GB, free: 15.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03614/0.6468, allocations: 8.858 MB / 0.6131 GB, free: 7.023 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/0.6471, allocations: 187.1 kB / 0.6133 GB, free: 6.801 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.305/2.953, allocations: 0 / 0.6133 GB, free: 6.801 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat