Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.001553/0.001553, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001159/0.001159, allocations: 169.3 kB / 24.24 MB, free: 312 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.9719/0.9719, allocations: 158.6 MB / 186 MB, free: 2.91 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.1381/0.1381, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.CombiTable1Ds.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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 347.7 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.88e-05/4.084e-05, allocations: 10.25 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003443/0.003483, allocations: 1.602 MB / 349.3 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007238/0.004207, allocations: 315.4 kB / 349.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.941e-05/0.004297, allocations: 0 / 349.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003842/0.004681, allocations: 71.72 kB / 349.7 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.004931, allocations: 67.67 kB / 349.7 MB, free: 7.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.005207, allocations: 63.84 kB / 349.8 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.00539, allocations: 71.77 kB / 349.8 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.005505, allocations: 11.98 kB / 349.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/0.005583, allocations: 39.89 kB / 349.9 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.005681, allocations: 39.89 kB / 349.9 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.005698, allocations: 0 / 349.9 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.91e-05/0.005777, allocations: 31.94 kB / 350 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.971e-05/0.005847, allocations: 23.91 kB / 350 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.005885, allocations: 7.938 kB / 350 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.006082, allocations: 67.75 kB / 350.1 MB, free: 7.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.006088, allocations: 4 kB / 350.1 MB, free: 7.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.00609, allocations: 4 kB / 350.1 MB, free: 7.355 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.006096, allocations: 0 / 350.1 MB, free: 7.355 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.0005006/0.006597, allocations: 428 kB / 350.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.006657, allocations: 8.031 kB / 350.5 MB, free: 6.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.006731, allocations: 12.84 kB / 350.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.006933, allocations: 144.3 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.00695, allocations: 384 / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.006975, allocations: 4.375 kB / 350.7 MB, free: 6.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.007115, allocations: 54.95 kB / 350.7 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.00713, allocations: 192 / 350.7 MB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.007143, allocations: 4.125 kB / 350.7 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.007154, allocations: 4 kB / 350.7 MB, free: 6.641 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.007195, allocations: 7.938 kB / 350.7 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.007543, allocations: 275.8 kB / 351 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.007745, allocations: 43.05 kB / 351 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.007774, allocations: 11.69 kB / 351.1 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.007797, allocations: 7.938 kB / 351.1 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.007816, allocations: 37.33 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.144e-06/0.007818, allocations: 3.938 kB / 351.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004169/0.008235, allocations: 109.7 kB / 351.2 MB, free: 6.086 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.008262, allocations: 55.41 kB / 351.3 MB, free: 6.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.008394, allocations: 223 kB / 351.5 MB, free: 5.785 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.144e-06/0.008401, allocations: 25.7 kB / 351.5 MB, free: 5.754 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.199e-05/0.008443, allocations: 146.9 kB / 351.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.008465, allocations: 19.84 kB / 351.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.008501, allocations: 19.38 kB / 351.7 MB, free: 5.559 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.00857, allocations: 0.4962 MB / 352.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.008588, allocations: 4 kB / 352.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.008604, allocations: 4 kB / 352.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/0.008653, allocations: 27.88 kB / 352.2 MB, free: 5.012 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008656, allocations: 3.984 kB / 352.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.938e-05/0.008755, allocations: 73.52 kB / 352.3 MB, free: 4.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.008772, allocations: 4 kB / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.008778, allocations: 0 / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.008794, allocations: 0 / 352.3 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.00884, allocations: 11.98 kB / 352.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.008847, allocations: 0 / 352.3 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.008875, allocations: 4 kB / 352.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.008881, allocations: 0 / 352.3 MB, free: 4.91 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 6.139e-05/0.008943, allocations: 164.5 kB / 352.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.665e-05/0.008979, allocations: 15.89 kB / 352.5 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.009132, allocations: 70.08 kB / 352.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.009134, allocations: 0 / 352.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.009139, allocations: 0 / 352.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.009144, allocations: 0 / 352.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.009443, allocations: 329.4 kB / 352.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.009445, allocations: 0 / 352.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.009484, allocations: 12 kB / 352.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.009488, allocations: 0 / 352.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.009498, allocations: 3.984 kB / 352.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.009501, allocations: 192 / 352.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.009505, allocations: 11.94 kB / 352.9 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.009652, allocations: 215.8 kB / 353.1 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.009664, allocations: 7.891 kB / 353.1 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.00968, allocations: 4 kB / 353.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.009741, allocations: 4 kB / 353.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.009789, allocations: 7.984 kB / 353.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.009793, allocations: 0 / 353.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.812e-05/0.009871, allocations: 159.2 kB / 353.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009872, allocations: 0 / 353.3 MB, free: 3.848 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.01013, allocations: 12 kB / 353.3 MB, free: 3.836 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.001069/0.0112, allocations: 375.2 kB / 353.7 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.919e-05/0.0113, allocations: 31.62 kB / 353.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.0113, allocations: 0 / 353.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.439e-05/0.01132, allocations: 23.67 kB / 353.7 MB, free: 3.496 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.01162, allocations: 21.17 kB / 353.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003958/0.01202, allocations: 182.3 kB / 353.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.01206, allocations: 63.34 kB / 354 MB, free: 3.188 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.031e-05/0.0121, allocations: 15.91 kB / 354 MB, free: 3.172 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.01214, allocations: 16.5 kB / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01214, allocations: 0 / 354 MB, free: 3.156 MB / 282.7 MB Notification: Performance of Templates: time 0.004306/0.01644, allocations: 1.158 MB / 355.2 MB, free: 2.008 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/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.2294537590350956]