Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001427/0.001427, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.00161/0.00161, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.551/1.551, 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.2514/0.2514, allocations: 46.93 MB / 357.1 MB, free: 10.29 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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 63.91 kB / 0.4914 GB, free: 7.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1617, allocations: 66 MB / 0.5559 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003524/0.1653, allocations: 1.62 MB / 0.5575 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1665, allocations: 0.5415 MB / 0.558 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9e-05/0.1666, allocations: 7.938 kB / 0.558 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003409/0.1669, allocations: 71.77 kB / 0.5581 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1673, allocations: 107.6 kB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1676, allocations: 91.75 kB / 0.5583 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.1678, allocations: 83.77 kB / 0.5583 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1679, allocations: 11.98 kB / 0.5584 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.068e-05/0.168, allocations: 43.77 kB / 0.5584 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1681, allocations: 59.81 kB / 0.5585 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1681, allocations: 4 kB / 0.5585 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.1682, allocations: 43.98 kB / 0.5585 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1683, allocations: 19.92 kB / 0.5585 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.1684, allocations: 31.73 kB / 0.5585 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1686, allocations: 111.6 kB / 0.5587 GB, free: 2.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1686, allocations: 3.938 kB / 0.5587 GB, free: 2.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1686, allocations: 0 / 0.5587 GB, free: 2.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.1686, allocations: 0 / 0.5587 GB, free: 2.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006702/0.1693, allocations: 422.6 kB / 0.5591 GB, free: 1.945 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.1693, allocations: 8.031 kB / 0.5591 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.1694, allocations: 12.89 kB / 0.5591 GB, free: 1.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1697, allocations: 207.1 kB / 0.5593 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1697, allocations: 384 / 0.5593 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.1697, allocations: 12.38 kB / 0.5593 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1699, allocations: 57.78 kB / 0.5593 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1699, allocations: 0 / 0.5593 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1699, allocations: 7.938 kB / 0.5594 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1699, allocations: 0 / 0.5594 GB, free: 1.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.17, allocations: 27.97 kB / 0.5594 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.1705, allocations: 288.8 kB / 0.5597 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.1707, allocations: 46.44 kB / 0.5597 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1707, allocations: 20.94 kB / 0.5597 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1708, allocations: 0 / 0.5597 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.1708, allocations: 34.56 kB / 0.5597 GB, free: 1.121 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1708, allocations: 0 / 0.5597 GB, free: 1.121 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001002/0.1718, allocations: 229.2 kB / 0.56 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1718, allocations: 51.41 kB / 0.56 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.1721, allocations: 222.2 kB / 0.5602 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1721, allocations: 25.7 kB / 0.5603 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.1722, allocations: 108.1 kB / 0.5604 GB, free: 472 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.313e-05/0.1723, allocations: 35.81 kB / 0.5604 GB, free: 436 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1723, allocations: 25.64 kB / 0.5604 GB, free: 404 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1725, allocations: 326.8 kB / 0.5607 GB, free: 68 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-05/0.1726, allocations: 23.98 kB / 0.5608 GB, free: 44 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.1726, allocations: 19.98 kB / 0.5608 GB, free: 24 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.1728, allocations: 64.84 kB / 0.5608 GB, free: 15.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1728, allocations: 4 kB / 0.5608 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002268/0.173, allocations: 97.62 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.1731, allocations: 7.984 kB / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1731, allocations: 0 / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.1731, allocations: 0 / 0.5609 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1732, allocations: 16 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.1732, allocations: 3.984 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.926e-05/0.1733, allocations: 11.94 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1733, allocations: 0 / 0.561 GB, free: 15.81 MB / 430.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 (8): * Single equations (assignments): 8 * 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.0001242/0.1734, allocations: 136 kB / 0.5611 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.1734, allocations: 11.91 kB / 0.5611 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.1738, allocations: 123.2 kB / 0.5612 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1738, allocations: 4 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1738, allocations: 0 / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.1738, allocations: 3.938 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.1744, allocations: 407.3 kB / 0.5616 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1744, allocations: 0 / 0.5616 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.285e-05/0.1744, allocations: 19.92 kB / 0.5616 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1745, allocations: 7.938 kB / 0.5616 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.1745, allocations: 4 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1745, allocations: 0 / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1745, allocations: 4 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.1748, allocations: 200.4 kB / 0.5618 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.1748, allocations: 88.95 kB / 0.5619 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1749, allocations: 4 kB / 0.5619 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.1749, allocations: 11.98 kB / 0.5619 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.175, allocations: 11.88 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.175, allocations: 4 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.1752, allocations: 172.2 kB / 0.5621 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1752, allocations: 0 / 0.5621 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1754, allocations: 23.88 kB / 0.5621 GB, free: 14.48 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001811/0.1772, allocations: 461.7 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000256/0.1775, allocations: 55.95 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1775, allocations: 3.938 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.1776, allocations: 31.98 kB / 0.5627 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1779, allocations: 18.48 kB / 0.5627 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006027/0.1785, allocations: 262.6 kB / 0.5629 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.1789, allocations: 0.7119 MB / 0.5636 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.179, allocations: 12.97 kB / 0.5637 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.896e-05/0.179, allocations: 15.42 kB / 0.5637 GB, free: 13.06 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.179, allocations: 4 kB / 0.5637 GB, free: 13.05 MB / 430.1 MB Notification: Performance of Templates: time 0.004806/0.1838, allocations: 1.372 MB / 0.565 GB, free: 11.69 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.37146133184433]