Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 112.6 kB / 17.08 MB, free: 5.984 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.00153/0.00153, allocations: 193.4 kB / 18.01 MB, free: 5.066 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.618/1.618, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2511/0.2511, allocations: 43.52 MB / 314.8 MB, free: 468 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.002307/0.002307, allocations: 68.47 kB / 442.6 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1455, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00364/0.1492, allocations: 1.705 MB / 0.4903 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.1507, allocations: 0.8195 MB / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.1508, allocations: 0 / 0.4911 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000467/0.1512, allocations: 111.6 kB / 0.4912 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.1515, allocations: 87.59 kB / 0.4913 GB, free: 9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.1518, allocations: 95.75 kB / 0.4914 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.152, allocations: 115.7 kB / 0.4915 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1521, allocations: 11.97 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.1522, allocations: 67.75 kB / 0.4916 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1524, allocations: 63.75 kB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1524, allocations: 4 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1525, allocations: 43.98 kB / 0.4917 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.095e-05/0.1526, allocations: 35.84 kB / 0.4917 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.851e-05/0.1527, allocations: 47.67 kB / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.1529, allocations: 139.4 kB / 0.4919 GB, free: 8.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1529, allocations: 0 / 0.4919 GB, free: 8.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1529, allocations: 0 / 0.4919 GB, free: 8.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.1529, allocations: 0 / 0.4919 GB, free: 8.387 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007147/0.1537, allocations: 450.5 kB / 0.4923 GB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1537, allocations: 11.89 kB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.1538, allocations: 16.84 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.1541, allocations: 231.9 kB / 0.4925 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1541, allocations: 8.359 kB / 0.4926 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1541, allocations: 12.06 kB / 0.4926 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.1543, allocations: 61.67 kB / 0.4926 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1544, allocations: 4 kB / 0.4926 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1544, allocations: 0 / 0.4926 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1544, allocations: 0 / 0.4926 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1545, allocations: 35.91 kB / 0.4927 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.1549, allocations: 316.8 kB / 0.493 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1551, allocations: 70.77 kB / 0.493 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.1552, allocations: 28.84 kB / 0.4931 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1552, allocations: 3.938 kB / 0.4931 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.1554, allocations: 79.38 kB / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.1554, allocations: 0 / 0.4931 GB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006855/0.1561, allocations: 237.2 kB / 0.4934 GB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1561, allocations: 51.41 kB / 0.4934 GB, free: 6.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.1565, allocations: 250.5 kB / 0.4937 GB, free: 6.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1565, allocations: 25.7 kB / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.825e-05/0.1566, allocations: 112.1 kB / 0.4938 GB, free: 6.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.479e-05/0.1567, allocations: 39.69 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.1567, allocations: 29.72 kB / 0.4939 GB, free: 6.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002704/0.157, allocations: 330.8 kB / 0.4942 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.157, allocations: 28 kB / 0.4942 GB, free: 5.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.123e-05/0.1571, allocations: 57.62 kB / 0.4942 GB, free: 5.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1573, allocations: 81.64 kB / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1573, allocations: 0 / 0.4943 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002347/0.1575, allocations: 137.6 kB / 0.4945 GB, free: 5.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1575, allocations: 4 kB / 0.4945 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1576, allocations: 4 kB / 0.4945 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1576, allocations: 3.984 kB / 0.4945 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1577, allocations: 20 kB / 0.4945 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1577, allocations: 3.938 kB / 0.4945 GB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1577, allocations: 7.984 kB / 0.4945 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.1578, allocations: 8 kB / 0.4945 GB, free: 5.438 MB / 382.1 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 ($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 (13): * Single equations (assignments): 13 * 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.0001334/0.1579, allocations: 141.7 kB / 0.4946 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/0.1579, allocations: 15.91 kB / 0.4947 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.158, allocations: 21.34 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.158, allocations: 7.984 kB / 0.4947 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.158, allocations: 3.938 kB / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.158, allocations: 0 / 0.4947 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005834/0.1586, allocations: 443.3 kB / 0.4951 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1586, allocations: 0 / 0.4951 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1587, allocations: 19.88 kB / 0.4951 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1587, allocations: 4.031 kB / 0.4951 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.1587, allocations: 8 kB / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1587, allocations: 0 / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.1587, allocations: 7.969 kB / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.159, allocations: 224.3 kB / 0.4954 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.1591, allocations: 92.95 kB / 0.4955 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1591, allocations: 12 kB / 0.4955 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.1592, allocations: 7.984 kB / 0.4955 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.1592, allocations: 7.938 kB / 0.4955 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.1593, allocations: 19.92 kB / 0.4955 GB, free: 4.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.1594, allocations: 180.2 kB / 0.4957 GB, free: 4.137 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1594, allocations: 4 kB / 0.4957 GB, free: 4.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1597, allocations: 27.94 kB / 0.4957 GB, free: 4.105 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001815/0.1615, allocations: 454.5 kB / 0.4961 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.1617, allocations: 83.84 kB / 0.4962 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1617, allocations: 0 / 0.4962 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/0.1618, allocations: 43.84 kB / 0.4963 GB, free: 3.578 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.1622, allocations: 43.34 kB / 0.4963 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006176/0.1628, allocations: 303.4 kB / 0.4966 GB, free: 3.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.1633, allocations: 0.7162 MB / 0.4973 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.1634, allocations: 25.25 kB / 0.4973 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.1634, allocations: 23.42 kB / 0.4973 GB, free: 2.422 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1634, allocations: 3.938 kB / 0.4973 GB, free: 2.418 MB / 382.1 MB Notification: Performance of Templates: time 0.005801/0.1692, allocations: 1.915 MB / 0.4992 GB, free: 0.5078 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches