Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001478/0.001478, allocations: 111.9 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2386/0.2386, allocations: 46.88 MB / 358.1 MB, free: 10.53 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002322/0.002322, allocations: 75.88 kB / 0.4924 GB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1597, allocations: 65.99 MB / 0.5568 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003163/0.1628, allocations: 1.606 MB / 0.5584 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1639, allocations: 0.5371 MB / 0.5589 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.1639, allocations: 0 / 0.5589 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.1641, allocations: 27.84 kB / 0.5589 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.1644, allocations: 83.62 kB / 0.559 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1647, allocations: 91.12 kB / 0.5591 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1649, allocations: 67.78 kB / 0.5592 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.746e-05/0.165, allocations: 4 kB / 0.5592 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.165, allocations: 23.91 kB / 0.5592 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.1651, allocations: 19.86 kB / 0.5592 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1651, allocations: 4 kB / 0.5592 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.1652, allocations: 31.98 kB / 0.5592 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.1652, allocations: 19.86 kB / 0.5593 GB, free: 3.406 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.1653, allocations: 27.8 kB / 0.5593 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.1654, allocations: 75.67 kB / 0.5594 GB, free: 3.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1655, allocations: 3.938 kB / 0.5594 GB, free: 3.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1655, allocations: 0 / 0.5594 GB, free: 3.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1655, allocations: 0 / 0.5594 GB, free: 3.301 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005207/0.166, allocations: 389.2 kB / 0.5597 GB, free: 2.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.166, allocations: 8.031 kB / 0.5597 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1661, allocations: 8.891 kB / 0.5598 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1663, allocations: 192.2 kB / 0.5599 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1663, allocations: 12.31 kB / 0.56 GB, free: 2.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1663, allocations: 4.375 kB / 0.56 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1664, allocations: 42.25 kB / 0.56 GB, free: 2.566 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1665, allocations: 8.125 kB / 0.56 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1665, allocations: 3.938 kB / 0.56 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1665, allocations: 0 / 0.56 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.1666, allocations: 23.97 kB / 0.56 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1669, allocations: 272.9 kB / 0.5603 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.1672, allocations: 50.44 kB / 0.5603 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.1672, allocations: 12.86 kB / 0.5604 GB, free: 2.141 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.1673, allocations: 7.984 kB / 0.5604 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1673, allocations: 30.66 kB / 0.5604 GB, free: 2.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.1673, allocations: 0 / 0.5604 GB, free: 2.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000639/0.1679, allocations: 145.4 kB / 0.5605 GB, free: 1.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.168, allocations: 55.41 kB / 0.5606 GB, free: 1.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1681, allocations: 142.2 kB / 0.5607 GB, free: 1.727 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1682, allocations: 29.7 kB / 0.5607 GB, free: 1.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.1682, allocations: 96.12 kB / 0.5608 GB, free: 1.594 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1683, allocations: 19.8 kB / 0.5609 GB, free: 1.574 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.1683, allocations: 25.7 kB / 0.5609 GB, free: 1.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1685, allocations: 322.8 kB / 0.5612 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.1685, allocations: 15.98 kB / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.1686, allocations: 19.97 kB / 0.5612 GB, free: 1.184 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.1687, allocations: 52.97 kB / 0.5613 GB, free: 1.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1687, allocations: 0 / 0.5613 GB, free: 1.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001941/0.1689, allocations: 85.61 kB / 0.5614 GB, free: 1.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1689, allocations: 5.719 kB / 0.5614 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.169, allocations: 0 / 0.5614 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.169, allocations: 0 / 0.5614 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.169, allocations: 12 kB / 0.5614 GB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1691, allocations: 3.984 kB / 0.5614 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.1691, allocations: 4 kB / 0.5614 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1691, allocations: 4 kB / 0.5614 GB, free: 1.012 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001017/0.1692, allocations: 125.7 kB / 0.5615 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.1692, allocations: 7.953 kB / 0.5615 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.1695, allocations: 93.89 kB / 0.5616 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1695, allocations: 0 / 0.5616 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1695, allocations: 0 / 0.5616 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1695, allocations: 3.938 kB / 0.5616 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.17, allocations: 354.4 kB / 0.5619 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.17, allocations: 0 / 0.5619 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.17, allocations: 15.98 kB / 0.562 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.17, allocations: 0 / 0.562 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.1701, allocations: 0 / 0.562 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1701, allocations: 0 / 0.562 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1701, allocations: 0 / 0.562 GB, free: 356 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.1703, allocations: 187.6 kB / 0.5621 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.1704, allocations: 89 kB / 0.5622 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.1704, allocations: 0 / 0.5622 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.244e-05/0.1704, allocations: 7.984 kB / 0.5622 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.1705, allocations: 7.938 kB / 0.5622 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.1705, allocations: 4 kB / 0.5622 GB, free: 24 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1706, allocations: 117.6 kB / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1706, allocations: 0 / 0.5624 GB, free: 15.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002403/0.1709, allocations: 15.94 kB / 0.5624 GB, free: 15.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001474/0.1723, allocations: 399 kB / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.1726, allocations: 51.91 kB / 0.5628 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1726, allocations: 0 / 0.5628 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.662e-05/0.1726, allocations: 27.92 kB / 0.5628 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.173, allocations: 11.98 kB / 0.5628 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.1735, allocations: 211.8 kB / 0.563 GB, free: 15.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1738, allocations: 0.6963 MB / 0.5637 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.1739, allocations: 15.42 kB / 0.5637 GB, free: 14.58 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1739, allocations: 0 / 0.5637 GB, free: 14.58 MB / 430.1 MB Notification: Performance of Templates: time 0.003417/0.1773, allocations: 1.416 MB / 0.5651 GB, free: 13.16 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test1.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: 7.907098412048072]