Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.001137/0.001137, allocations: 80.98 kB / 20.65 MB, free: 3.844 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.001289/0.001289, allocations: 173 kB / 24.06 MB, free: 452 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.961/0.961, allocations: 158.6 MB / 185.9 MB, free: 2.781 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.156/0.156, 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.708e-05/3.883e-05, allocations: 8.219 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.003256/0.003295, allocations: 1.58 MB / 349.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005244/0.003819, allocations: 327.4 kB / 350 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.003895, allocations: 4 kB / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.004128, allocations: 19.8 kB / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.004308, allocations: 39.78 kB / 350.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.0046, allocations: 91.73 kB / 350.2 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.004756, allocations: 51.84 kB / 350.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.004891, allocations: 11.94 kB / 350.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.004974, allocations: 31.91 kB / 350.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.005046, allocations: 19.91 kB / 350.3 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.005066, allocations: 4 kB / 350.3 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.934e-05/0.005155, allocations: 28 kB / 350.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.005214, allocations: 11.92 kB / 350.3 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.00525, allocations: 15.92 kB / 350.4 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.005434, allocations: 63.75 kB / 350.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.005441, allocations: 3.938 kB / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005442, allocations: 0 / 350.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.475e-06/0.005451, allocations: 4 kB / 350.4 MB, free: 6.859 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.0003613/0.005812, allocations: 396.2 kB / 350.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.005863, allocations: 20.02 kB / 350.8 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.005899, allocations: 8.891 kB / 350.8 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.574e-05/0.005994, allocations: 124.6 kB / 351 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.006001, allocations: 384 / 351 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.006018, allocations: 8.312 kB / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.958e-05/0.006108, allocations: 50.95 kB / 351 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.006118, allocations: 4.188 kB / 351 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.006125, allocations: 4.125 kB / 351 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.00613, allocations: 0 / 351 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.006149, allocations: 7.984 kB / 351 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.006358, allocations: 260.3 kB / 351.3 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.006483, allocations: 55.03 kB / 351.3 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.006498, allocations: 11.69 kB / 351.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.006519, allocations: 0 / 351.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.006536, allocations: 37.33 kB / 351.4 MB, free: 5.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.006537, allocations: 0 / 351.4 MB, free: 5.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002668/0.006804, allocations: 81.66 kB / 351.5 MB, free: 5.684 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.624e-05/0.00682, allocations: 51.41 kB / 351.5 MB, free: 5.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.416e-05/0.006884, allocations: 188 kB / 351.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.00689, allocations: 29.7 kB / 351.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.006918, allocations: 146.8 kB / 351.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.006937, allocations: 23.73 kB / 351.9 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.006961, allocations: 23.38 kB / 351.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.007011, allocations: 0.4923 MB / 352.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.007022, allocations: 0 / 352.4 MB, free: 4.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.101e-05/0.007033, allocations: 7.984 kB / 352.4 MB, free: 4.672 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.79e-05/0.007061, allocations: 31.61 kB / 352.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007062, allocations: 0 / 352.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.1e-05/0.007123, allocations: 53.59 kB / 352.5 MB, free: 4.578 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007136, allocations: 7.984 kB / 352.5 MB, free: 4.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007141, allocations: 4 kB / 352.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.007154, allocations: 4 kB / 352.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.324e-05/0.007197, allocations: 8 kB / 352.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.0072, allocations: 0 / 352.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.007216, allocations: 4 kB / 352.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.00722, allocations: 0 / 352.5 MB, free: 4.551 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 5.222e-05/0.007273, allocations: 164.5 kB / 352.7 MB, free: 4.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.00729, allocations: 11.89 kB / 352.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.723e-05/0.007388, allocations: 58.47 kB / 352.8 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.007391, allocations: 8 kB / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007393, allocations: 0 / 352.8 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.007396, allocations: 7.984 kB / 352.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.007572, allocations: 290 kB / 353.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.007574, allocations: 0 / 353.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.992e-05/0.007604, allocations: 11.98 kB / 353.1 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007606, allocations: 4 kB / 353.1 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.007612, allocations: 0 / 353.1 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007613, allocations: 0 / 353.1 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007614, allocations: 0 / 353.1 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.747e-05/0.007682, allocations: 203.8 kB / 353.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.007694, allocations: 11.89 kB / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.866e-06/0.007702, allocations: 4 kB / 353.3 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.81e-05/0.00773, allocations: 4 kB / 353.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.703e-05/0.007758, allocations: 7.984 kB / 353.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.007761, allocations: 0 / 353.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.957e-05/0.007791, allocations: 143.7 kB / 353.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007791, allocations: 0 / 353.4 MB, free: 3.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001464/0.007937, allocations: 23.86 kB / 353.5 MB, free: 3.547 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.0007622/0.008699, allocations: 384.1 kB / 353.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.00878, allocations: 23.67 kB / 353.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.008783, allocations: 0 / 353.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.978e-05/0.008802, allocations: 23.73 kB / 353.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.009017, allocations: 21.25 kB / 353.9 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002747/0.009292, allocations: 173.9 kB / 354.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.109e-05/0.009323, allocations: 59.36 kB / 354.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.989e-05/0.009353, allocations: 8 kB / 354.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.009401, allocations: 78.19 kB / 354.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009402, allocations: 0 / 354.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of Templates: time 0.002818/0.01222, allocations: 1.257 MB / 355.5 MB, free: 1.578 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.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.173896591179073]