Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001944/0.001944, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002102/0.002102, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.654/1.654, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3586/0.3586, allocations: 32.8 MB / 293.9 MB, free: 1.191 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.674e-05, allocations: 6.25 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003639/0.003676, allocations: 1.67 MB / 376.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.006114, allocations: 1.274 MB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.006178, allocations: 0 / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.006457, allocations: 31.67 kB / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.006867, allocations: 87.55 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.007258, allocations: 131.6 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.007445, allocations: 71.83 kB / 378.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.007552, allocations: 8 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.007663, allocations: 47.83 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.007809, allocations: 31.89 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.007832, allocations: 4 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002116/0.008044, allocations: 99.75 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.008114, allocations: 11.94 kB / 378.7 MB, free: 1.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.008147, allocations: 11.98 kB / 378.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.008532, allocations: 163.4 kB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.008536, allocations: 0 / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.008537, allocations: 0 / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.008542, allocations: 4 kB / 378.9 MB, free: 1.312 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.0006925/0.009234, allocations: 431.6 kB / 379.3 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.009287, allocations: 8.031 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.009347, allocations: 12.89 kB / 379.4 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.009583, allocations: 128.5 kB / 379.5 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.009599, allocations: 8.375 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.009625, allocations: 8.328 kB / 379.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.009858, allocations: 111.2 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.009872, allocations: 192 / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.009885, allocations: 4.125 kB / 379.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.009889, allocations: 4 kB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.01002, allocations: 31.95 kB / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.01052, allocations: 291.7 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.01066, allocations: 46.98 kB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.01074, allocations: 31.7 kB / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.01076, allocations: 0 / 380 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.0108, allocations: 33.39 kB / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.0108, allocations: 0 / 380 MB, free: 44 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001085/0.01189, allocations: 177.5 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.01196, allocations: 81.11 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.0122, allocations: 219.8 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.01223, allocations: 29.7 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.01234, allocations: 138.9 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.01238, allocations: 31.84 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.01243, allocations: 23.38 kB / 380.7 MB, free: 15.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002914/0.01272, allocations: 0.4923 MB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.71e-05/0.01282, allocations: 27.98 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.01296, allocations: 77 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.01316, allocations: 63.59 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01316, allocations: 0 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002729/0.01343, allocations: 101.8 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.01345, allocations: 4 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.01345, allocations: 4.031 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.01347, allocations: 4 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.0136, allocations: 23.92 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.0136, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.01366, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.01367, allocations: 4 kB / 381.5 MB, free: 14.46 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 (7): * Single equations (assignments): 7 * 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.0001479/0.01382, allocations: 164.5 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.01386, allocations: 11.94 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.01423, allocations: 118.4 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01423, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01424, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.01424, allocations: 7.812 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006026/0.01484, allocations: 373.3 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.01485, allocations: 4 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-05/0.01493, allocations: 16 kB / 382.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.01493, allocations: 3.984 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.01496, allocations: 4 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01496, allocations: 4 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.01496, allocations: 0 / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.01533, allocations: 255.7 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.01535, allocations: 11.95 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.01537, allocations: 0 / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.01546, allocations: 4 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/0.0155, allocations: 7.984 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.01551, allocations: 0 / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.01565, allocations: 161.3 kB / 382.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01565, allocations: 4 kB / 382.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003192/0.01597, allocations: 43.86 kB / 382.7 MB, free: 13.21 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 (7): * Single equations (assignments): 7 * 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.003563/0.01953, allocations: 0.5255 MB / 383.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.01984, allocations: 75.56 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.01985, allocations: 0 / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.01998, allocations: 43.67 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.0203, allocations: 21.94 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.0209, allocations: 212.8 kB / 383.6 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.621e-05/0.02099, allocations: 75.33 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.344e-05/0.02107, allocations: 16.28 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.02112, allocations: 16.5 kB / 383.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02112, allocations: 4 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of Templates: time 0.006149/0.02727, allocations: 1.979 MB / 385.7 MB, free: 10.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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: 5.051423751050606]