Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001089, allocations: 105.2 kB / 16.41 MB, free: 6.461 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.001059/0.001059, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.46/1.46, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2174/0.2174, allocations: 43.52 MB / 314.1 MB, free: 456 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.001429/0.001429, allocations: 73.47 kB / 441.9 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1462, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00342/0.1497, allocations: 1.782 MB / 0.4897 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.1525, allocations: 1.484 MB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1527, allocations: 3.938 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.1532, allocations: 51.75 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.1537, allocations: 91.53 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.1541, allocations: 143.6 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.1544, allocations: 179.5 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.1545, allocations: 25.52 kB / 0.4916 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1547, allocations: 79.64 kB / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.1549, allocations: 71.62 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.155, allocations: 8 kB / 0.4918 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1551, allocations: 67.95 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.1552, allocations: 23.92 kB / 0.4918 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.038e-05/0.1553, allocations: 59.53 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.1556, allocations: 171.5 kB / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1557, allocations: 0 / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1557, allocations: 0 / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1557, allocations: 4 kB / 0.4921 GB, free: 7.473 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00094/0.1566, allocations: 466.6 kB / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.1567, allocations: 15.89 kB / 0.4925 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.1568, allocations: 16.75 kB / 0.4925 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.1573, allocations: 247.6 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1573, allocations: 4.375 kB / 0.4928 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1573, allocations: 8.109 kB / 0.4928 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.1576, allocations: 101.1 kB / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1576, allocations: 0 / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1576, allocations: 0 / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1576, allocations: 4 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1578, allocations: 35.91 kB / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.158, allocations: 210.6 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1583, allocations: 105.2 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.168e-05/0.1584, allocations: 41.64 kB / 0.4933 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.1585, allocations: 11.92 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002222/0.1587, allocations: 112.9 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1587, allocations: 0 / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004357/0.1591, allocations: 161.6 kB / 0.4935 GB, free: 5.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.1592, allocations: 140.4 kB / 0.4937 GB, free: 5.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.1595, allocations: 215.8 kB / 0.4939 GB, free: 5.363 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1595, allocations: 29.7 kB / 0.4939 GB, free: 5.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.84e-05/0.1596, allocations: 112.1 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/0.1596, allocations: 31.62 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.1597, allocations: 29.7 kB / 0.4941 GB, free: 5.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1598, allocations: 326.8 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.244e-05/0.1599, allocations: 31.98 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.16, allocations: 73.12 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.1602, allocations: 87.36 kB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1602, allocations: 0 / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002542/0.1605, allocations: 137.4 kB / 0.4947 GB, free: 4.461 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1605, allocations: 7.984 kB / 0.4947 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1605, allocations: 4 kB / 0.4947 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1605, allocations: 0 / 0.4947 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1606, allocations: 23.94 kB / 0.4947 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1607, allocations: 3.984 kB / 0.4947 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.1607, allocations: 11.91 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1607, allocations: 4 kB / 0.4948 GB, free: 4.406 MB / 382.1 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 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001457/0.1609, allocations: 142.2 kB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.1609, allocations: 19.75 kB / 0.4949 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.161, allocations: 13 kB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.161, allocations: 4 kB / 0.4949 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.161, allocations: 3.984 kB / 0.4949 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.161, allocations: 4 kB / 0.4949 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.1612, allocations: 217.5 kB / 0.4951 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1612, allocations: 0 / 0.4951 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.1613, allocations: 8 kB / 0.4951 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1613, allocations: 0 / 0.4951 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1613, allocations: 15.98 kB / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1613, allocations: 0 / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1613, allocations: 0 / 0.4952 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.1616, allocations: 169.6 kB / 0.4953 GB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.1617, allocations: 88.92 kB / 0.4954 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.1617, allocations: 11.98 kB / 0.4954 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.792e-05/0.1618, allocations: 8 kB / 0.4954 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1619, allocations: 8.078 kB / 0.4954 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1619, allocations: 7.938 kB / 0.4954 GB, free: 3.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1622, allocations: 169.5 kB / 0.4956 GB, free: 3.434 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1622, allocations: 0 / 0.4956 GB, free: 3.434 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1624, allocations: 32 kB / 0.4956 GB, free: 3.402 MB / 382.1 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001314/0.1637, allocations: 455.9 kB / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.164, allocations: 83.89 kB / 0.4962 GB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.164, allocations: 0 / 0.4962 GB, free: 2.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1642, allocations: 39.98 kB / 0.4962 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1645, allocations: 63.56 kB / 0.4962 GB, free: 2.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.165, allocations: 264 kB / 0.4965 GB, free: 2.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.1654, allocations: 0.7163 MB / 0.4972 GB, free: 1.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.898e-05/0.1654, allocations: 34.03 kB / 0.4972 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.1655, allocations: 27.42 kB / 0.4973 GB, free: 1.719 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1655, allocations: 0 / 0.4973 GB, free: 1.719 MB / 382.1 MB Notification: Performance of Templates: time 0.005557/0.1711, allocations: 2.645 MB / 0.4998 GB, free: 15.08 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches