Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.224/0.224, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 75.89 kB / 0.4915 GB, free: 7.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1478, allocations: 65.99 MB / 0.5559 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003518/0.1513, allocations: 1.943 MB / 0.5578 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1532, allocations: 1.064 MB / 0.5589 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1533, allocations: 0 / 0.5589 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.1537, allocations: 51.62 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.154, allocations: 99.53 kB / 0.559 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.1542, allocations: 95.64 kB / 0.5591 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1545, allocations: 151.5 kB / 0.5592 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1546, allocations: 21.55 kB / 0.5593 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1547, allocations: 63.7 kB / 0.5593 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.1548, allocations: 47.72 kB / 0.5594 GB, free: 1.727 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1548, allocations: 4 kB / 0.5594 GB, free: 1.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1549, allocations: 55.91 kB / 0.5594 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.155, allocations: 27.91 kB / 0.5594 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.899e-05/0.1551, allocations: 51.62 kB / 0.5595 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.1554, allocations: 155.2 kB / 0.5596 GB, free: 1.438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1554, allocations: 0 / 0.5596 GB, free: 1.438 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1554, allocations: 0 / 0.5596 GB, free: 1.438 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1554, allocations: 4 kB / 0.5596 GB, free: 1.434 MB / 414.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.0007776/0.1562, allocations: 496.1 kB / 0.5601 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1562, allocations: 8.031 kB / 0.5601 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.1563, allocations: 16.84 kB / 0.5601 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.1566, allocations: 236.8 kB / 0.5604 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.1566, allocations: 4.375 kB / 0.5604 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.1567, allocations: 16.12 kB / 0.5604 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.1569, allocations: 106.2 kB / 0.5605 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1569, allocations: 3.938 kB / 0.5605 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.157, allocations: 7.938 kB / 0.5605 GB, free: 460 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.157, allocations: 4 kB / 0.5605 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1571, allocations: 39.97 kB / 0.5605 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006459/0.1578, allocations: 0.5049 MB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.1581, allocations: 82.66 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.1582, allocations: 40.83 kB / 0.5612 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1583, allocations: 7.922 kB / 0.5612 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.1585, allocations: 83.38 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.1585, allocations: 0 / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005502/0.1591, allocations: 141.5 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.1591, allocations: 63.34 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1593, allocations: 198.3 kB / 0.5616 GB, free: 15.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1593, allocations: 25.7 kB / 0.5617 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1594, allocations: 128.4 kB / 0.5618 GB, free: 15.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1595, allocations: 27.75 kB / 0.5618 GB, free: 15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.393e-05/0.1595, allocations: 29.7 kB / 0.5618 GB, free: 14.96 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1597, allocations: 322.8 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.613e-05/0.1598, allocations: 31.92 kB / 0.5622 GB, free: 14.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1599, allocations: 76.33 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.1601, allocations: 100.2 kB / 0.5623 GB, free: 14.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1601, allocations: 4 kB / 0.5623 GB, free: 14.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003065/0.1604, allocations: 137.4 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1604, allocations: 4 kB / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1604, allocations: 0 / 0.5625 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1605, allocations: 8 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1606, allocations: 31.86 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1606, allocations: 4.125 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.1606, allocations: 11.95 kB / 0.5625 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.1607, allocations: 4 kB / 0.5625 GB, free: 14.2 MB / 430.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.000124/0.1608, allocations: 133.8 kB / 0.5627 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.1608, allocations: 11.91 kB / 0.5627 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.1609, allocations: 13.41 kB / 0.5627 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1609, allocations: 7.938 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1609, allocations: 0 / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1609, allocations: 3.984 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.1611, allocations: 209.6 kB / 0.5629 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1611, allocations: 3.938 kB / 0.5629 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.234e-05/0.1612, allocations: 15.94 kB / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1612, allocations: 0 / 0.5629 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1612, allocations: 7.984 kB / 0.5629 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1612, allocations: 3.938 kB / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1612, allocations: 4 kB / 0.5629 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.1616, allocations: 185 kB / 0.5631 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.1617, allocations: 89.05 kB / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.1617, allocations: 0 / 0.5632 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.1618, allocations: 11.92 kB / 0.5632 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1618, allocations: 11.98 kB / 0.5632 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1618, allocations: 0 / 0.5632 GB, free: 13.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1619, allocations: 148.4 kB / 0.5634 GB, free: 13.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1619, allocations: 0 / 0.5634 GB, free: 13.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1622, allocations: 27.94 kB / 0.5634 GB, free: 13.23 MB / 430.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.001566/0.1637, allocations: 415.3 kB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002929/0.164, allocations: 79.83 kB / 0.5639 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.164, allocations: 0 / 0.5639 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1642, allocations: 31.92 kB / 0.5639 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1645, allocations: 50.56 kB / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00059/0.1651, allocations: 267.2 kB / 0.5642 GB, free: 12.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1654, allocations: 0.7123 MB / 0.5649 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.597e-05/0.1655, allocations: 21.41 kB / 0.5649 GB, free: 11.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.1656, allocations: 27.42 kB / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1656, allocations: 0 / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of Templates: time 0.005554/0.1711, allocations: 1.918 MB / 0.5668 GB, free: 9.852 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.529186010360718]