Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.001135/0.001135, allocations: 80.2 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001228/0.001228, allocations: 173 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9958/0.9958, allocations: 158.6 MB / 185.9 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1415/0.1415, allocations: 32.37 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] 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.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.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.241e-05, allocations: 10.19 kB / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.002417/0.002439, allocations: 1.587 MB / 349.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000598/0.003037, allocations: 323.4 kB / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.523e-05/0.003102, allocations: 4 kB / 350 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.003385, allocations: 75.7 kB / 350.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.003568, allocations: 55.75 kB / 350.2 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.003801, allocations: 99.73 kB / 350.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.003936, allocations: 67.77 kB / 350.3 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.004027, allocations: 4 kB / 350.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.004095, allocations: 39.89 kB / 350.4 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.802e-05/0.004183, allocations: 47.88 kB / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.004199, allocations: 4 kB / 350.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.004269, allocations: 27.92 kB / 350.5 MB, free: 6.832 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.004318, allocations: 19.92 kB / 350.5 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.004344, allocations: 11.94 kB / 350.5 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.004481, allocations: 75.73 kB / 350.6 MB, free: 6.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.624e-06/0.004484, allocations: 7.938 kB / 350.6 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004485, allocations: 0 / 350.6 MB, free: 6.719 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.004488, allocations: 0 / 350.6 MB, free: 6.719 MB / 282.7 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.0002942/0.004782, allocations: 416.1 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.004825, allocations: 12.03 kB / 351 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.004861, allocations: 12.84 kB / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.004974, allocations: 148.2 kB / 351.1 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.004983, allocations: 384 / 351.1 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.004999, allocations: 4.375 kB / 351.1 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.334e-05/0.005072, allocations: 54.95 kB / 351.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.005081, allocations: 192 / 351.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.005087, allocations: 4.125 kB / 351.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005094, allocations: 7.938 kB / 351.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.233e-05/0.005116, allocations: 7.984 kB / 351.2 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.005334, allocations: 252.5 kB / 351.5 MB, free: 5.723 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.005459, allocations: 43.03 kB / 351.5 MB, free: 5.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.005476, allocations: 15.62 kB / 351.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.005497, allocations: 96 / 351.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.005515, allocations: 45.31 kB / 351.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.005517, allocations: 4 kB / 351.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002686/0.005785, allocations: 89.5 kB / 351.7 MB, free: 5.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.005805, allocations: 51.41 kB / 351.7 MB, free: 5.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.005908, allocations: 226.9 kB / 351.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.005915, allocations: 25.7 kB / 352 MB, free: 5.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.005957, allocations: 150.8 kB / 352.1 MB, free: 5.012 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.005976, allocations: 15.86 kB / 352.1 MB, free: 4.996 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.006007, allocations: 23.38 kB / 352.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.006065, allocations: 0.4962 MB / 352.6 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.141e-05/0.006076, allocations: 4 kB / 352.6 MB, free: 4.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.351e-05/0.00609, allocations: 8 kB / 352.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.36e-05/0.006123, allocations: 23.67 kB / 352.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.006124, allocations: 0 / 352.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.613e-05/0.0062, allocations: 61.53 kB / 352.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.006211, allocations: 4 kB / 352.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.006216, allocations: 3.984 kB / 352.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.006228, allocations: 0 / 352.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.006266, allocations: 8 kB / 352.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.166e-06/0.006269, allocations: 4 kB / 352.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.006291, allocations: 4 kB / 352.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.006295, allocations: 4 kB / 352.8 MB, free: 4.324 MB / 282.7 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 4.734e-05/0.006342, allocations: 160.6 kB / 352.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.006366, allocations: 15.83 kB / 352.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.557e-05/0.006462, allocations: 62.41 kB / 353 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.006464, allocations: 8 kB / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.006466, allocations: 0 / 353 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.00647, allocations: 3.984 kB / 353 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.006671, allocations: 294 kB / 353.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006672, allocations: 0 / 353.3 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.006704, allocations: 19.92 kB / 353.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.006706, allocations: 4 kB / 353.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.006711, allocations: 4 kB / 353.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.006712, allocations: 0 / 353.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006713, allocations: 0 / 353.3 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.749e-05/0.00679, allocations: 211.8 kB / 353.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.246e-06/0.006799, allocations: 7.953 kB / 353.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.00681, allocations: 0 / 353.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.724e-05/0.006857, allocations: 3.984 kB / 353.5 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.006882, allocations: 8 kB / 353.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.006885, allocations: 0 / 353.5 MB, free: 3.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.074e-05/0.006936, allocations: 155.1 kB / 353.7 MB, free: 3.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006936, allocations: 4 kB / 353.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.007165, allocations: 15.94 kB / 353.7 MB, free: 3.297 MB / 282.7 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.0008844/0.008049, allocations: 395 kB / 354.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.472e-05/0.008144, allocations: 23.67 kB / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008145, allocations: 0 / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.008166, allocations: 15.81 kB / 354.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.008447, allocations: 21.3 kB / 354.2 MB, free: 2.938 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.008761, allocations: 194.2 kB / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.768e-05/0.008799, allocations: 63.34 kB / 354.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.621e-05/0.008835, allocations: 11.98 kB / 354.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.408e-05/0.008889, allocations: 82.2 kB / 354.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.00889, allocations: 3.938 kB / 354.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of Templates: time 0.00323/0.01212, allocations: 1.272 MB / 355.8 MB, free: 1.277 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2275468218140304]