Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 108 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.001168/0.001168, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.637/1.637, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2389/0.2389, allocations: 43.52 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.001557/0.001557, allocations: 67.89 kB / 441.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1402, allocations: 57.79 MB / 499.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003797/0.1441, allocations: 1.689 MB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1457, allocations: 0.8001 MB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.1458, allocations: 7.875 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000473/0.1463, allocations: 99.73 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.1467, allocations: 91.64 kB / 0.4906 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.1472, allocations: 87.75 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.1476, allocations: 123.7 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1477, allocations: 8.219 kB / 0.4908 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1479, allocations: 59.75 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1481, allocations: 63.81 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1481, allocations: 4 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.1483, allocations: 43.98 kB / 0.491 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1484, allocations: 39.8 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.337e-05/0.1485, allocations: 47.66 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.1488, allocations: 135.4 kB / 0.4912 GB, free: 8.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1488, allocations: 0 / 0.4912 GB, free: 8.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1488, allocations: 0 / 0.4912 GB, free: 8.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1489, allocations: 0 / 0.4912 GB, free: 8.441 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005578/0.1494, allocations: 434.6 kB / 0.4916 GB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1495, allocations: 11.89 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.1495, allocations: 16.84 kB / 0.4916 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1499, allocations: 239.8 kB / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1499, allocations: 384 / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.1499, allocations: 16.08 kB / 0.4918 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1501, allocations: 61.66 kB / 0.4919 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1501, allocations: 3.938 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1501, allocations: 0 / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1501, allocations: 0 / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.1502, allocations: 35.95 kB / 0.4919 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1507, allocations: 304.8 kB / 0.4922 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.1509, allocations: 70.67 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.502e-05/0.151, allocations: 24.84 kB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.151, allocations: 0 / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.1512, allocations: 75.45 kB / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1512, allocations: 0 / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007267/0.1519, allocations: 205.2 kB / 0.4926 GB, free: 6.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.152, allocations: 59.39 kB / 0.4927 GB, free: 6.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.1522, allocations: 242.6 kB / 0.4929 GB, free: 6.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1523, allocations: 29.7 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.1523, allocations: 108.1 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.1524, allocations: 31.83 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.1525, allocations: 33.66 kB / 0.4931 GB, free: 6.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1526, allocations: 334.8 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.624e-05/0.1527, allocations: 20 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.551e-05/0.1527, allocations: 41.7 kB / 0.4935 GB, free: 5.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1529, allocations: 65.64 kB / 0.4935 GB, free: 5.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1529, allocations: 0 / 0.4935 GB, free: 5.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002106/0.1531, allocations: 125.5 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1531, allocations: 4 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1532, allocations: 4 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1532, allocations: 0 / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1533, allocations: 19.98 kB / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1533, allocations: 0 / 0.4937 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.1534, allocations: 3.938 kB / 0.4937 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.1534, allocations: 11.94 kB / 0.4937 GB, free: 5.617 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 (11): * Single equations (assignments): 11 * 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.0001244/0.1535, allocations: 145.7 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.1535, allocations: 15.91 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/0.1536, allocations: 17.39 kB / 0.4939 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.1536, allocations: 8 kB / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.1536, allocations: 0 / 0.4939 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1536, allocations: 3.938 kB / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.1541, allocations: 419.3 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1541, allocations: 0 / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.1542, allocations: 16.03 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1542, allocations: 0 / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1542, allocations: 3.938 kB / 0.4943 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1542, allocations: 4 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1542, allocations: 96 / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.1546, allocations: 224.2 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.1546, allocations: 89.02 kB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1547, allocations: 7.938 kB / 0.4946 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.1548, allocations: 4 kB / 0.4946 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.1548, allocations: 11.98 kB / 0.4946 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1548, allocations: 4 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.155, allocations: 188.2 kB / 0.4948 GB, free: 4.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.155, allocations: 0 / 0.4948 GB, free: 4.371 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1553, allocations: 31.86 kB / 0.4948 GB, free: 4.34 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 (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.001041/0.1563, allocations: 467.2 kB / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.1565, allocations: 71.91 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1565, allocations: 0 / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/0.1566, allocations: 32.11 kB / 0.4954 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.1571, allocations: 36.17 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.1576, allocations: 295.4 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1579, allocations: 0.7158 MB / 0.4964 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.158, allocations: 20.64 kB / 0.4964 GB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.1581, allocations: 19.42 kB / 0.4964 GB, free: 2.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1581, allocations: 0 / 0.4964 GB, free: 2.688 MB / 382.1 MB Notification: Performance of Templates: time 0.004702/0.1628, allocations: 1.816 MB / 0.4982 GB, free: 0.8789 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches