Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.001193/0.001193, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.466/1.466, 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.2279/0.2279, allocations: 43.53 MB / 314.1 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.001355/0.001355, allocations: 67.91 kB / 441.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1228, allocations: 57.8 MB / 499.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003423/0.1263, allocations: 1.689 MB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1289, allocations: 1.41 MB / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.129, allocations: 0 / 0.491 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003974/0.1294, allocations: 43.77 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.1297, allocations: 67.69 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002795/0.13, allocations: 83.7 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.1302, allocations: 95.75 kB / 0.4913 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1304, allocations: 20.19 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1305, allocations: 47.78 kB / 0.4913 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1307, allocations: 31.84 kB / 0.4914 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1307, allocations: 8 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1308, allocations: 63.91 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.1309, allocations: 11.98 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.454e-05/0.131, allocations: 35.73 kB / 0.4915 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.1312, allocations: 119.7 kB / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1312, allocations: 0 / 0.4916 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1313, allocations: 4 kB / 0.4916 GB, free: 7.992 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1313, allocations: 0 / 0.4916 GB, free: 7.992 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000617/0.1319, allocations: 403 kB / 0.492 GB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1319, allocations: 11.89 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.132, allocations: 8.844 kB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1323, allocations: 207.6 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.1324, allocations: 4.312 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1324, allocations: 8.125 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1326, allocations: 71.38 kB / 0.4923 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1326, allocations: 0 / 0.4923 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1326, allocations: 4 kB / 0.4923 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1326, allocations: 4 kB / 0.4923 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.1327, allocations: 15.98 kB / 0.4923 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.1332, allocations: 288.7 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.1334, allocations: 62.62 kB / 0.4926 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.1334, allocations: 20.84 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1334, allocations: 0 / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.1336, allocations: 67.39 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1336, allocations: 3.938 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005429/0.1342, allocations: 177.3 kB / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.1342, allocations: 77.11 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1344, allocations: 149.8 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.1344, allocations: 25.7 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.578e-05/0.1345, allocations: 100.1 kB / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.1345, allocations: 27.64 kB / 0.4932 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.1346, allocations: 21.72 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1347, allocations: 326.8 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.1348, allocations: 23.98 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.1348, allocations: 42.56 kB / 0.4936 GB, free: 5.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1349, allocations: 57.77 kB / 0.4937 GB, free: 5.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.135, allocations: 0 / 0.4937 GB, free: 5.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001794/0.1351, allocations: 105.6 kB / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1352, allocations: 8 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1352, allocations: 0 / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1352, allocations: 0 / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.1353, allocations: 23.92 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1353, allocations: 0 / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.1353, allocations: 3.938 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1354, allocations: 4 kB / 0.4938 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 (10): * Single equations (assignments): 10 * 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 8.959e-05/0.1354, allocations: 125.8 kB / 0.494 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1355, allocations: 15.75 kB / 0.494 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.1355, allocations: 20.7 kB / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1355, allocations: 0 / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1355, allocations: 0 / 0.494 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1356, allocations: 7.922 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004026/0.136, allocations: 387.3 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.136, allocations: 0 / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.136, allocations: 11.98 kB / 0.4944 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.136, allocations: 4 kB / 0.4944 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1361, allocations: 7.969 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1361, allocations: 0 / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1361, allocations: 0 / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.1363, allocations: 200.2 kB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.1364, allocations: 85.02 kB / 0.4947 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1364, allocations: 8.109 kB / 0.4947 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.1365, allocations: 8.375 kB / 0.4947 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1365, allocations: 11.94 kB / 0.4947 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.1365, allocations: 7.984 kB / 0.4947 GB, free: 4.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.984e-05/0.1366, allocations: 114.7 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1366, allocations: 0 / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1369, allocations: 31.98 kB / 0.4948 GB, free: 4.305 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 (8): * Single equations (assignments): 6 * 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.001112/0.138, allocations: 0.4935 MB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.1382, allocations: 71.83 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1382, allocations: 64 / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.159e-05/0.1383, allocations: 35.92 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.1386, allocations: 27.84 kB / 0.4955 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.139, allocations: 194.8 kB / 0.4956 GB, free: 3.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.1393, allocations: 0.6924 MB / 0.4963 GB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.645e-05/0.1394, allocations: 25.23 kB / 0.4963 GB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.1394, allocations: 19.42 kB / 0.4964 GB, free: 2.738 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1394, allocations: 0 / 0.4964 GB, free: 2.738 MB / 382.1 MB Notification: Performance of Templates: time 0.004368/0.1438, allocations: 1.96 MB / 0.4983 GB, free: 0.7812 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches