Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 107.1 kB / 16.41 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 192.1 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2385/0.2385, allocations: 43.51 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 69.47 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1476, allocations: 57.79 MB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003388/0.151, allocations: 1.912 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1525, allocations: 0.8429 MB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.1526, allocations: 4 kB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.153, allocations: 43.7 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1532, allocations: 63.64 kB / 0.4903 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1535, allocations: 107.7 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.1537, allocations: 135.5 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1538, allocations: 41.47 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.989e-05/0.1539, allocations: 55.77 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.154, allocations: 47.66 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.1541, allocations: 8 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.1542, allocations: 43.98 kB / 0.4907 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.1543, allocations: 27.91 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.657e-05/0.1543, allocations: 55.61 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1546, allocations: 143.5 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1546, allocations: 0 / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1546, allocations: 4 kB / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1546, allocations: 0 / 0.4909 GB, free: 8.691 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000633/0.1552, allocations: 484.4 kB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1553, allocations: 15.89 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.1553, allocations: 34.75 kB / 0.4914 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.1554, allocations: 20.73 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1557, allocations: 220 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1557, allocations: 16.36 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.1558, allocations: 7.938 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.156, allocations: 108.2 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.156, allocations: 3.984 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.156, allocations: 0 / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1561, allocations: 4 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1562, allocations: 51.91 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.1568, allocations: 0.5008 MB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.1571, allocations: 94.64 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.1572, allocations: 36.84 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1573, allocations: 0 / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.1575, allocations: 87.31 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.1575, allocations: 0 / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003913/0.1579, allocations: 145.6 kB / 0.4927 GB, free: 6.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1579, allocations: 55.39 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.1581, allocations: 195.4 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1581, allocations: 29.7 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.563e-05/0.1582, allocations: 112 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1582, allocations: 23.66 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.1583, allocations: 33.7 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1584, allocations: 322.8 kB / 0.4934 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.1585, allocations: 27.98 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1586, allocations: 68.27 kB / 0.4935 GB, free: 5.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1588, allocations: 100.1 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1588, allocations: 0 / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002561/0.1591, allocations: 141.3 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1591, allocations: 4 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1591, allocations: 4 kB / 0.4937 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1592, allocations: 3.938 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.1593, allocations: 28.11 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1593, allocations: 3.984 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.1594, allocations: 15.91 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-06/0.1594, allocations: 4 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.1595, allocations: 144.1 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.1595, allocations: 15.81 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.1596, allocations: 13.41 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1596, allocations: 3.938 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1596, allocations: 4 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1596, allocations: 3.984 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.1598, allocations: 209.8 kB / 0.4941 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1598, allocations: 0 / 0.4941 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.1599, allocations: 19.94 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1599, allocations: 0 / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1599, allocations: 0 / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1599, allocations: 3.938 kB / 0.4942 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1599, allocations: 3.984 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.1603, allocations: 188.8 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.1604, allocations: 85.05 kB / 0.4944 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1604, allocations: 4 kB / 0.4944 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.189e-05/0.1605, allocations: 11.92 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1605, allocations: 4 kB / 0.4945 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.1605, allocations: 7.984 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001081/0.1606, allocations: 137.2 kB / 0.4946 GB, free: 4.508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1607, allocations: 4.062 kB / 0.4946 GB, free: 4.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.1609, allocations: 36.02 kB / 0.4946 GB, free: 4.469 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/0.1623, allocations: 1.003 MB / 0.4956 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.1626, allocations: 91.83 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1626, allocations: 0 / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.857e-05/0.1627, allocations: 35.98 kB / 0.4957 GB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1631, allocations: 50.86 kB / 0.4958 GB, free: 3.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1651, allocations: 1.729 MB / 0.4975 GB, free: 1.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.1653, allocations: 0.7162 MB / 0.4982 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.47e-05/0.1654, allocations: 17.42 kB / 0.4982 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.1655, allocations: 39.42 kB / 0.4982 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1655, allocations: 0 / 0.4982 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.1904, allocations: 3.813 MB / 0.5019 GB, free: 12.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/7.818, allocations: 8.047 kB / 0.502 GB, free: 12.83 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches