Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.001037/0.001037, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 221.5 MB / 230.7 MB, free: 7.555 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.0008541/0.0008537, allocations: 106 kB / 281.6 MB, free: 5.301 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.2326/0.2326, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.306e-05, allocations: 8 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 61.92 MB / 0.4948 GB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.5082, allocations: 88.32 MB / 0.581 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.5084, allocations: 71.97 kB / 0.5811 GB, free: 7.922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.5227, allocations: 5.324 MB / 0.5863 GB, free: 2.609 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5227, allocations: 0 / 0.5863 GB, free: 2.609 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.5228, allocations: 0 / 0.5863 GB, free: 2.609 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003577/0.5231, allocations: 394.2 kB / 0.5867 GB, free: 2.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.5232, allocations: 11.98 kB / 0.5867 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.5232, allocations: 7.906 kB / 0.5867 GB, free: 2.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.5235, allocations: 210.8 kB / 0.5869 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.5235, allocations: 4 kB / 0.5869 GB, free: 1.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.5235, allocations: 11.95 kB / 0.5869 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.86e-05/0.5236, allocations: 11.94 kB / 0.5869 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.5237, allocations: 49.67 kB / 0.587 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.5237, allocations: 0 / 0.587 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.5237, allocations: 3.984 kB / 0.587 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5237, allocations: 4 kB / 0.587 GB, free: 1.824 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.5239, allocations: 154.2 kB / 0.5871 GB, free: 1.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.524, allocations: 58.5 kB / 0.5872 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.524, allocations: 16.86 kB / 0.5872 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.5241, allocations: 0 / 0.5872 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.5242, allocations: 63.44 kB / 0.5873 GB, free: 1.477 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.5242, allocations: 0 / 0.5873 GB, free: 1.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001675/0.5244, allocations: 77.53 kB / 0.5873 GB, free: 1.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.5244, allocations: 63.39 kB / 0.5874 GB, free: 1.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.5246, allocations: 157.4 kB / 0.5875 GB, free: 1.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.5246, allocations: 29.7 kB / 0.5876 GB, free: 1.125 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.5246, allocations: 100.1 kB / 0.5877 GB, free: 1.023 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.5247, allocations: 15.75 kB / 0.5877 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.5247, allocations: 0 / 0.5877 GB, free: 1.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5248, allocations: 322.8 kB / 0.588 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.5248, allocations: 12 kB / 0.588 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.5249, allocations: 29.72 kB / 0.588 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.5249, allocations: 15.98 kB / 0.588 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5249, allocations: 0 / 0.588 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001025/0.525, allocations: 69.53 kB / 0.5881 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5251, allocations: 8 kB / 0.5881 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5251, allocations: 0 / 0.5881 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.5251, allocations: 3.953 kB / 0.5881 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.5252, allocations: 15.98 kB / 0.5881 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.5252, allocations: 4 kB / 0.5881 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.5252, allocations: 4.031 kB / 0.5881 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.5252, allocations: 4 kB / 0.5882 GB, free: 0.5078 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 (7): * Single equations (assignments): 7 * 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 5.564e-05/0.5253, allocations: 102.2 kB / 0.5883 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001066/0.5254, allocations: 93.55 kB / 0.5883 GB, free: 312 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.5254, allocations: 11.86 kB / 0.5884 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.5256, allocations: 82.08 kB / 0.5884 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5256, allocations: 0 / 0.5884 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.5256, allocations: 0 / 0.5884 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.5256, allocations: 0 / 0.5884 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.5257, allocations: 170.2 kB / 0.5886 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5257, allocations: 0 / 0.5886 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.5258, allocations: 4 kB / 0.5886 GB, free: 0 / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5258, allocations: 4.047 kB / 0.5886 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.5258, allocations: 7.875 kB / 0.5886 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5258, allocations: 3.953 kB / 0.5886 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5258, allocations: 3.938 kB / 0.5886 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.526, allocations: 112.9 kB / 0.5887 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.526, allocations: 96.94 kB / 0.5888 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.5261, allocations: 0 / 0.5888 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.262e-05/0.5261, allocations: 4 kB / 0.5888 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.5261, allocations: 3.953 kB / 0.5888 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.5262, allocations: 11.98 kB / 0.5888 GB, free: 15.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.5263, allocations: 129 kB / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5263, allocations: 0 / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.5265, allocations: 27.98 kB / 0.589 GB, free: 15.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009829/0.5275, allocations: 0.8798 MB / 0.5898 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5276, allocations: 39.98 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5276, allocations: 0 / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.5277, allocations: 24 kB / 0.5899 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.5279, allocations: 27.92 kB / 0.5899 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.5283, allocations: 193.7 kB / 0.5901 GB, free: 14.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.5285, allocations: 0.7041 MB / 0.5908 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.5286, allocations: 16.41 kB / 0.5908 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.633e-05/0.5287, allocations: 31.44 kB / 0.5908 GB, free: 13.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5287, allocations: 4 kB / 0.5909 GB, free: 13.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05603/0.5847, allocations: 2.357 MB / 0.5932 GB, free: 11.29 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/0.5851, allocations: 167.2 kB / 0.5933 GB, free: 11.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.307, allocations: 0 / 0.5933 GB, free: 11.1 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat