Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001421/0.001421, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001204/0.001204, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9569/0.9569, allocations: 177.1 MB / 205 MB, free: 5.617 MB / 186.7 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.2457/0.2457, allocations: 32.8 MB / 294.3 MB, free: 1.293 MB / 266.7 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.715e-05, allocations: 2.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002441/0.002468, allocations: 1.642 MB / 377.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.003854, allocations: 1.282 MB / 379 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.127e-05/0.003926, allocations: 0 / 379 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.00423, allocations: 31.73 kB / 379 MB, free: 1.691 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.004584, allocations: 87.55 kB / 379.1 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.00484, allocations: 103.7 kB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.005018, allocations: 79.69 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.005126, allocations: 11.94 kB / 379.3 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.005192, allocations: 31.91 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.005314, allocations: 27.91 kB / 379.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.005332, allocations: 4 kB / 379.3 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.005472, allocations: 91.88 kB / 379.4 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.005526, allocations: 15.92 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.00556, allocations: 19.92 kB / 379.4 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.005783, allocations: 131.5 kB / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005785, allocations: 0 / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.005787, allocations: 0 / 379.6 MB, free: 1.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.005792, allocations: 0 / 379.6 MB, free: 1.098 MB / 346.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.000498/0.00629, allocations: 432 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.006332, allocations: 12.03 kB / 380 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.014e-05/0.006382, allocations: 8.891 kB / 380 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.006555, allocations: 143.5 kB / 380.2 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.006565, allocations: 4.375 kB / 380.2 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.817e-05/0.006593, allocations: 4.375 kB / 380.2 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.006738, allocations: 104 kB / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.006748, allocations: 192 / 380.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006759, allocations: 4.125 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.066e-06/0.006768, allocations: 0 / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.03e-05/0.006798, allocations: 11.98 kB / 380.3 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.007124, allocations: 283.8 kB / 380.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.007297, allocations: 39 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.007318, allocations: 11.69 kB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.007343, allocations: 11.94 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.007366, allocations: 33.39 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.007367, allocations: 0 / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003617/0.007729, allocations: 105.5 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.007768, allocations: 81.05 kB / 380.8 MB, free: 15.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.007886, allocations: 195.9 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.007896, allocations: 25.7 kB / 381.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.37e-05/0.00795, allocations: 146.9 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.007974, allocations: 19.86 kB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.008004, allocations: 23.38 kB / 381.2 MB, free: 15.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.008119, allocations: 0.4884 MB / 381.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.008139, allocations: 8 kB / 381.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.008185, allocations: 53.06 kB / 381.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.242e-05/0.008227, allocations: 27.88 kB / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008228, allocations: 0 / 381.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.396e-05/0.008312, allocations: 65.56 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.008325, allocations: 4 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.00833, allocations: 3.938 kB / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.008345, allocations: 0 / 381.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.614e-05/0.008391, allocations: 11.98 kB / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.008396, allocations: 0 / 381.9 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.008419, allocations: 11.98 kB / 381.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.008424, allocations: 0 / 381.9 MB, free: 14.52 MB / 362.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.591e-05/0.00849, allocations: 160.6 kB / 382.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.008513, allocations: 11.89 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.008638, allocations: 70.08 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008641, allocations: 3.938 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.008644, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008647, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.008899, allocations: 321.4 kB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.008902, allocations: 0 / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.008939, allocations: 19.98 kB / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.008942, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.008948, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.00895, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.008951, allocations: 0 / 382.5 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.009063, allocations: 220 kB / 382.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.009077, allocations: 3.953 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.00909, allocations: 4 kB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.963e-05/0.00913, allocations: 3.984 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.009164, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.009168, allocations: 4 kB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.515e-05/0.009233, allocations: 157.3 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009233, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001949/0.009428, allocations: 35.88 kB / 382.9 MB, free: 13.45 MB / 362.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.0009873/0.01042, allocations: 482.7 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.01053, allocations: 31.61 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01053, allocations: 4 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.735e-05/0.01056, allocations: 27.8 kB / 383.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.01078, allocations: 23.3 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.01113, allocations: 169.9 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.01117, allocations: 63.34 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.426e-05/0.01123, allocations: 23.91 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.01126, allocations: 12.5 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01126, allocations: 0 / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.003649/0.01491, allocations: 1.84 MB / 385.6 MB, free: 10.91 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.282089896965772]