Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.0008366/0.0008366, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.00108/0.00108, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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 1.035/1.035, allocations: 158.6 MB / 185.7 MB, free: 2.906 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.1824/0.1824, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.124e-05, allocations: 9.344 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003419/0.00345, allocations: 1.649 MB / 349.3 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005728/0.004023, allocations: 351.2 kB / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.004078, allocations: 0 / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.004448, allocations: 459.1 kB / 350.1 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.004687, allocations: 263.3 kB / 350.4 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.004946, allocations: 143.7 kB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.005107, allocations: 175.6 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.005196, allocations: 15.98 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.005286, allocations: 119.8 kB / 350.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.005435, allocations: 239.6 kB / 351.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.005455, allocations: 4 kB / 351.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/0.005534, allocations: 39.86 kB / 351.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.886e-05/0.005603, allocations: 83.72 kB / 351.2 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.005637, allocations: 43.72 kB / 351.2 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.005814, allocations: 187.2 kB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005817, allocations: 0 / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.005819, allocations: 4 kB / 351.4 MB, free: 5.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.005823, allocations: 0 / 351.4 MB, free: 5.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000426/0.006249, allocations: 0.6931 MB / 352.1 MB, free: 4.957 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.006289, allocations: 8.031 kB / 352.1 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.8e-05/0.006337, allocations: 44.66 kB / 352.2 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.006494, allocations: 248.8 kB / 352.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.006505, allocations: 384 / 352.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.006527, allocations: 16.33 kB / 352.4 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.006649, allocations: 62.94 kB / 352.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.006658, allocations: 4.172 kB / 352.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.006667, allocations: 4.125 kB / 352.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.006673, allocations: 0 / 352.5 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.006706, allocations: 8 kB / 352.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.007057, allocations: 439.5 kB / 352.9 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.228e-05/0.007129, allocations: 35.06 kB / 353 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.00715, allocations: 15.62 kB / 353 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.007167, allocations: 8 kB / 353 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.007184, allocations: 37.47 kB / 353 MB, free: 3.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.007185, allocations: 0 / 353 MB, free: 3.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003916/0.007576, allocations: 208.7 kB / 353.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.115e-05/0.007598, allocations: 55.34 kB / 353.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.007904, allocations: 0.6238 MB / 353.9 MB, free: 3.031 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.007912, allocations: 29.7 kB / 353.9 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.008011, allocations: 278.8 kB / 354.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.008032, allocations: 31.73 kB / 354.2 MB, free: 2.688 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.008061, allocations: 23.38 kB / 354.3 MB, free: 2.656 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.008145, allocations: 0.5509 MB / 354.8 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.008167, allocations: 11.98 kB / 354.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.008184, allocations: 8 kB / 354.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.238e-05/0.008227, allocations: 31.86 kB / 354.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008228, allocations: 4 kB / 354.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.408e-05/0.008322, allocations: 113.4 kB / 355 MB, free: 1.918 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.008335, allocations: 11.94 kB / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.008339, allocations: 0 / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.00835, allocations: 0 / 355 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.008436, allocations: 15.98 kB / 355 MB, free: 1.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.008442, allocations: 4 kB / 355 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.008472, allocations: 7.984 kB / 355 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.008479, allocations: 4 kB / 355 MB, free: 1.875 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 (7): * Single equations (assignments): 7 * 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 6.329e-05/0.008542, allocations: 160.5 kB / 355.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.008577, allocations: 43.72 kB / 355.2 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.008726, allocations: 105.5 kB / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008728, allocations: 0 / 355.3 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.008734, allocations: 3.984 kB / 355.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.008737, allocations: 0 / 355.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.009044, allocations: 481.3 kB / 355.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.009046, allocations: 4 kB / 355.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.009092, allocations: 19.98 kB / 355.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.009095, allocations: 3.938 kB / 355.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.009102, allocations: 0 / 355.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.009104, allocations: 0 / 355.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.009106, allocations: 0 / 355.8 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.961e-05/0.009205, allocations: 255.5 kB / 356.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.009226, allocations: 35.72 kB / 356.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.009242, allocations: 0 / 356.1 MB, free: 0.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.036e-05/0.009283, allocations: 7.984 kB / 356.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.009324, allocations: 11.98 kB / 356.1 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.009329, allocations: 4 kB / 356.1 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.009518, allocations: 418.8 kB / 356.5 MB, free: 284 kB / 282.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.009519, allocations: 0 / 356.5 MB, free: 284 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.009686, allocations: 35.92 kB / 356.6 MB, free: 248 kB / 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 (7): * Single equations (assignments): 7 * 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.0008131/0.0105, allocations: 383.8 kB / 356.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.01061, allocations: 39.66 kB / 357 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01061, allocations: 0 / 357 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.279e-05/0.01064, allocations: 31.77 kB / 357 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.01089, allocations: 41.89 kB / 357.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.01158, allocations: 0.5785 MB / 357.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.564e-05/0.01167, allocations: 123.2 kB / 357.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.01173, allocations: 19.97 kB / 357.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.01176, allocations: 16.5 kB / 357.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01176, allocations: 0 / 357.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of Templates: time 0.004425/0.01619, allocations: 1.604 MB / 359.4 MB, free: 13.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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.319338941015303]