Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.000938/0.000938, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009779/0.0009779, allocations: 167.7 kB / 24.99 MB, free: 8.797 MB / 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.9932/0.9932, allocations: 177.1 MB / 205.3 MB, free: 5.648 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.2561/0.2561, allocations: 32.8 MB / 294.6 MB, free: 1.285 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.115e-05, allocations: 10.25 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002206/0.002227, allocations: 1.692 MB / 377.7 MB, free: 3.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008121/0.003039, allocations: 0.5764 MB / 378.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.37e-05/0.003113, allocations: 0 / 378.3 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.003609, allocations: 451 kB / 378.7 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003818/0.003991, allocations: 299.1 kB / 379 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.004304, allocations: 175.5 kB / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.004484, allocations: 167.6 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.004583, allocations: 19.97 kB / 379.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.004682, allocations: 127.8 kB / 379.5 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.004864, allocations: 239.6 kB / 379.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.00488, allocations: 4 kB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.9e-05/0.004949, allocations: 31.94 kB / 379.8 MB, free: 1.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.349e-05/0.005032, allocations: 91.62 kB / 379.9 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.005072, allocations: 35.75 kB / 379.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.005278, allocations: 199.2 kB / 380.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00528, allocations: 0 / 380.1 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005281, allocations: 4 kB / 380.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.005286, allocations: 0 / 380.1 MB, free: 0.8906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005322/0.005819, allocations: 0.697 MB / 380.8 MB, free: 160 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.005853, allocations: 15.97 kB / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.005908, allocations: 44.66 kB / 380.8 MB, free: 100 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.006463, allocations: 244.9 kB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.006475, allocations: 384 / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.006509, allocations: 16.3 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.006672, allocations: 50.95 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.006687, allocations: 192 / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.006702, allocations: 12.12 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.006713, allocations: 4 kB / 381.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.916e-05/0.006752, allocations: 7.984 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.007232, allocations: 427.6 kB / 381.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.007385, allocations: 42.94 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.313e-05/0.007408, allocations: 19.77 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.007424, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.007444, allocations: 33.39 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.007444, allocations: 0 / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000389/0.007833, allocations: 196.7 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.007864, allocations: 51.41 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.008243, allocations: 0.6316 MB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.348e-06/0.008252, allocations: 25.7 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.008382, allocations: 282.8 kB / 382.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.008403, allocations: 19.8 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.008433, allocations: 27.36 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.008586, allocations: 0.547 MB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.008605, allocations: 7.984 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.00862, allocations: 11.94 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.736e-05/0.008657, allocations: 31.81 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.008658, allocations: 4 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.387e-05/0.008752, allocations: 89.41 kB / 383.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.008766, allocations: 8 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.008771, allocations: 288 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.008785, allocations: 0 / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.008826, allocations: 11.98 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.008833, allocations: 3.938 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.661e-05/0.008859, allocations: 8 kB / 383.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.008864, allocations: 3.938 kB / 383.6 MB, free: 13.14 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 7.903e-05/0.008943, allocations: 160.5 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.008976, allocations: 47.7 kB / 383.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.009103, allocations: 97.23 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009105, allocations: 0 / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.009109, allocations: 3.984 kB / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.009113, allocations: 0 / 383.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003451/0.009458, allocations: 477.3 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.009459, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.009488, allocations: 8 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.00949, allocations: 0 / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.009499, allocations: 3.984 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.009502, allocations: 8 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.009503, allocations: 0 / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.009631, allocations: 251.7 kB / 384.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.009654, allocations: 35.67 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.009669, allocations: 0 / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.009706, allocations: 4 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.009736, allocations: 3.984 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.00974, allocations: 4 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.009977, allocations: 430.8 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009977, allocations: 0 / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001713/0.01015, allocations: 24 kB / 385.2 MB, free: 11.53 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.0007779/0.01093, allocations: 389.6 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.972e-05/0.01102, allocations: 31.67 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01102, allocations: 4 kB / 385.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.01104, allocations: 19.62 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01127, allocations: 25.95 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006087/0.01188, allocations: 0.5824 MB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.113e-05/0.01195, allocations: 119.2 kB / 386.3 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.795e-05/0.01199, allocations: 15.92 kB / 386.3 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.01201, allocations: 12.5 kB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01201, allocations: 4 kB / 386.3 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Templates: time 0.003781/0.0158, allocations: 1.393 MB / 387.7 MB, free: 9.035 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.2776891149114817]