Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.001804/0.001804, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001801/0.001801, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.384/1.384, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 179] 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.2035/0.2035, allocations: 32.81 MB / 293.5 MB, free: 40 kB / 270.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.14e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002685/0.002706, allocations: 1.603 MB / 441.7 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.004484, allocations: 1.243 MB / 443 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.004537, allocations: 0 / 443 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.004735, allocations: 23.8 kB / 443 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.005019, allocations: 95.48 kB / 443.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.005284, allocations: 94.19 kB / 443.2 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.005443, allocations: 83.7 kB / 443.3 MB, free: 5.004 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.238e-05/0.005535, allocations: 7.984 kB / 443.3 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.005608, allocations: 35.91 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.005943, allocations: 31.89 kB / 443.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.005964, allocations: 4 kB / 443.3 MB, free: 4.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.006137, allocations: 95.81 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.006179, allocations: 11.94 kB / 443.4 MB, free: 4.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.302e-05/0.006222, allocations: 35.84 kB / 443.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.006487, allocations: 151.5 kB / 443.6 MB, free: 4.637 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.006491, allocations: 3.984 kB / 443.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006492, allocations: 0 / 443.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.006495, allocations: 0 / 443.6 MB, free: 4.633 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004777/0.006973, allocations: 329.7 kB / 443.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.007006, allocations: 12.03 kB / 444 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.007049, allocations: 8.891 kB / 444 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.007268, allocations: 133.6 kB / 444.1 MB, free: 4.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.007283, allocations: 8.375 kB / 444.1 MB, free: 4.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.007307, allocations: 8.375 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.007507, allocations: 97.59 kB / 444.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.007518, allocations: 4.125 kB / 444.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.007533, allocations: 8.125 kB / 444.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.007541, allocations: 4 kB / 444.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.007649, allocations: 35.94 kB / 444.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003774/0.008026, allocations: 232.5 kB / 444.5 MB, free: 3.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.008155, allocations: 54.48 kB / 444.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.72e-05/0.008212, allocations: 20.92 kB / 444.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.008233, allocations: 8 kB / 444.6 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.008268, allocations: 34.55 kB / 444.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.00827, allocations: 0 / 444.6 MB, free: 3.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000702/0.008972, allocations: 173.4 kB / 444.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.361e-05/0.009065, allocations: 85.09 kB / 444.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.009261, allocations: 148.3 kB / 445 MB, free: 3.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.009281, allocations: 29.7 kB / 445 MB, free: 3.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.424e-05/0.009365, allocations: 104.1 kB / 445.1 MB, free: 2.961 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.009399, allocations: 27.81 kB / 445.2 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.009449, allocations: 25.7 kB / 445.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.009626, allocations: 322.8 kB / 445.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.333e-05/0.00972, allocations: 23.97 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.009833, allocations: 67.41 kB / 445.6 MB, free: 2.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.01, allocations: 60.77 kB / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.01, allocations: 0 / 445.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002362/0.01024, allocations: 101.6 kB / 445.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.01026, allocations: 4 kB / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.01026, allocations: 0 / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.01028, allocations: 0 / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.01039, allocations: 23.98 kB / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.0104, allocations: 0 / 445.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.01045, allocations: 4 kB / 445.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.01046, allocations: 4 kB / 445.8 MB, free: 2.273 MB / 366.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.0001192/0.01058, allocations: 134.3 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.01062, allocations: 7.953 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002996/0.01092, allocations: 122.7 kB / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01092, allocations: 0 / 446 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01092, allocations: 4.312 kB / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01093, allocations: 0 / 446 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.0114, allocations: 322.1 kB / 446.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.0114, allocations: 0 / 446.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.839e-05/0.01147, allocations: 23.98 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01147, allocations: 0 / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.01148, allocations: 7.984 kB / 446.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.01149, allocations: 7.984 kB / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01149, allocations: 0 / 446.4 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.01179, allocations: 207.3 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.0118, allocations: 3.953 kB / 446.6 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.01183, allocations: 4 kB / 446.6 MB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.0119, allocations: 4 kB / 446.6 MB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.01193, allocations: 11.98 kB / 446.6 MB, free: 1.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.01194, allocations: 4 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.01205, allocations: 119.2 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01205, allocations: 0 / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002926/0.01234, allocations: 43.86 kB / 446.8 MB, free: 1.195 MB / 366.1 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 (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.001856/0.0142, allocations: 0.5243 MB / 447.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.01444, allocations: 75.86 kB / 447.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.01444, allocations: 0 / 447.4 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.01453, allocations: 31.98 kB / 447.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.01482, allocations: 19.03 kB / 447.4 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/0.01531, allocations: 197.2 kB / 447.6 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.599e-05/0.01541, allocations: 87.88 kB / 447.7 MB, free: 448 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.058e-05/0.01547, allocations: 12.98 kB / 447.7 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.01552, allocations: 24.48 kB / 447.7 MB, free: 408 kB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.01552, allocations: 0 / 447.7 MB, free: 408 kB / 366.1 MB Notification: Performance of Templates: time 0.1539/0.1694, allocations: 1.892 MB / 449.6 MB, free: 21.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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: 4.578936330974102]