Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.001515/0.001515, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001837/0.001837, allocations: 211.7 kB / 23.73 MB, free: 4.16 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.587/1.587, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.234/0.234, allocations: 44.94 MB / 358.8 MB, free: 6.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 67.89 kB / 0.4935 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.5191, allocations: 65.48 MB / 0.5575 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test29): time 0.00358/0.5227, allocations: 1.64 MB / 0.5591 GB, free: 5.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.5239, allocations: 0.5309 MB / 0.5596 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.5239, allocations: 0 / 0.5596 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.5242, allocations: 39.78 kB / 0.5596 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.5246, allocations: 83.59 kB / 0.5597 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.5249, allocations: 95.75 kB / 0.5598 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.5251, allocations: 83.77 kB / 0.5599 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.5252, allocations: 22.66 kB / 0.5599 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.5253, allocations: 31.91 kB / 0.5599 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.5254, allocations: 43.72 kB / 0.56 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.5254, allocations: 8 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.5255, allocations: 39.98 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.146e-05/0.5256, allocations: 23.91 kB / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.5256, allocations: 23.81 kB / 0.5601 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.5259, allocations: 111.3 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.5259, allocations: 0 / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5259, allocations: 0 / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.5259, allocations: 4 kB / 0.5602 GB, free: 4.535 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006333/0.5265, allocations: 341.5 kB / 0.5605 GB, free: 4.172 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5265, allocations: 8.031 kB / 0.5605 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.992e-05/0.5266, allocations: 12.84 kB / 0.5605 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.5268, allocations: 146.3 kB / 0.5607 GB, free: 3.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5269, allocations: 8.375 kB / 0.5607 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/0.5269, allocations: 4.375 kB / 0.5607 GB, free: 3.973 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.5271, allocations: 69.8 kB / 0.5607 GB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.5271, allocations: 3.938 kB / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.5271, allocations: 0 / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.5271, allocations: 0 / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.5273, allocations: 43.95 kB / 0.5608 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.5277, allocations: 248.4 kB / 0.561 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.5278, allocations: 66.48 kB / 0.5611 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.5279, allocations: 24.84 kB / 0.5611 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.5279, allocations: 0 / 0.5611 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.528, allocations: 34.56 kB / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.528, allocations: 0 / 0.5612 GB, free: 3.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001063/0.529, allocations: 301.8 kB / 0.5614 GB, free: 3.133 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.5291, allocations: 55.34 kB / 0.5615 GB, free: 3.066 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.5292, allocations: 167.6 kB / 0.5617 GB, free: 2.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.5293, allocations: 29.7 kB / 0.5617 GB, free: 2.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.797e-05/0.5293, allocations: 100.1 kB / 0.5618 GB, free: 2.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.5294, allocations: 47.59 kB / 0.5618 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.5294, allocations: 33.7 kB / 0.5619 GB, free: 2.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.5296, allocations: 322.8 kB / 0.5622 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.672e-05/0.5297, allocations: 39.92 kB / 0.5622 GB, free: 2.309 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.964e-05/0.5298, allocations: 43.72 kB / 0.5622 GB, free: 2.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001953/0.53, allocations: 88.83 kB / 0.5623 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.53, allocations: 0 / 0.5623 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002775/0.5303, allocations: 129.6 kB / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5303, allocations: 4 kB / 0.5625 GB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.5303, allocations: 4 kB / 0.5625 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.5303, allocations: 15.88 kB / 0.5625 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5304, allocations: 23.98 kB / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5304, allocations: 0 / 0.5625 GB, free: 2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.5305, allocations: 7.984 kB / 0.5625 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.5305, allocations: 8 kB / 0.5625 GB, free: 1.984 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001176/0.5306, allocations: 117.8 kB / 0.5626 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.5307, allocations: 15.91 kB / 0.5626 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.531, allocations: 158.3 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.531, allocations: 11.98 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.531, allocations: 0 / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.531, allocations: 3.984 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/0.5317, allocations: 398.7 kB / 0.5632 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.5317, allocations: 0 / 0.5632 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.779e-05/0.5318, allocations: 31.92 kB / 0.5632 GB, free: 1.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5318, allocations: 3.984 kB / 0.5632 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.5318, allocations: 4 kB / 0.5632 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.5318, allocations: 8.031 kB / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5318, allocations: 0 / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003285/0.5321, allocations: 235.9 kB / 0.5635 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.5321, allocations: 7.906 kB / 0.5635 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.5321, allocations: 7.984 kB / 0.5635 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.5322, allocations: 8 kB / 0.5635 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.5323, allocations: 7.984 kB / 0.5635 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5323, allocations: 4 kB / 0.5635 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001141/0.5324, allocations: 128.7 kB / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5324, allocations: 4 kB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.5327, allocations: 31.92 kB / 0.5636 GB, free: 0.7461 MB / 398.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 (13): * Single equations (assignments): 13 * 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.001939/0.5346, allocations: 0.4912 MB / 0.5641 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.5349, allocations: 99.89 kB / 0.5642 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5349, allocations: 0 / 0.5642 GB, free: 376 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.535, allocations: 51.91 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.5354, allocations: 19.98 kB / 0.5643 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.536, allocations: 243.4 kB / 0.5645 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.5361, allocations: 92.25 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.429e-05/0.5361, allocations: 16.47 kB / 0.5646 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.5362, allocations: 23.44 kB / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5362, allocations: 0 / 0.5646 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Templates: time 0.004893/0.5411, allocations: 1.568 MB / 0.5662 GB, free: 14.33 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test29.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.590187015011907]