Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001244/0.001244, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001752/0.001752, allocations: 162.9 kB / 24.99 MB, free: 9.273 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2703/0.2703, allocations: 34.26 MB / 296 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 378 MB, free: 2.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.209e-05, allocations: 2.312 kB / 378 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002171/0.002193, allocations: 1.701 MB / 379.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003366, allocations: 1.305 MB / 381 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.003421, allocations: 11.88 kB / 381.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.003594, allocations: 19.84 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.003827, allocations: 79.56 kB / 381.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.004088, allocations: 183.4 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.004217, allocations: 79.77 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.004304, allocations: 15.98 kB / 381.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.686e-05/0.004361, allocations: 39.84 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.643e-05/0.004458, allocations: 35.89 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.004475, allocations: 4 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.004642, allocations: 91.88 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.004703, allocations: 19.92 kB / 381.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.004741, allocations: 19.92 kB / 381.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.004953, allocations: 143.5 kB / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.004955, allocations: 0 / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004956, allocations: 0 / 381.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.004959, allocations: 0 / 381.8 MB, free: 15.18 MB / 362.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.0003738/0.005333, allocations: 440 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.005363, allocations: 8.031 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.005405, allocations: 8.891 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.005554, allocations: 150.5 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.005562, allocations: 384 / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.005582, allocations: 8.375 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.005719, allocations: 112 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.005728, allocations: 192 / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.005738, allocations: 4.125 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.005745, allocations: 0 / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.005779, allocations: 15.98 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.006063, allocations: 287.7 kB / 382.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.006128, allocations: 39.16 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.006154, allocations: 23.61 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.00617, allocations: 4 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.006192, allocations: 37.39 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.006193, allocations: 0 / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003558/0.006548, allocations: 133.4 kB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.006586, allocations: 81.09 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.006701, allocations: 197.9 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.00671, allocations: 29.64 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.006757, allocations: 146.8 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.006776, allocations: 27.75 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.006808, allocations: 27.36 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.006912, allocations: 0.4923 MB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.006934, allocations: 11.98 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.766e-05/0.006972, allocations: 53.08 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.007017, allocations: 35.61 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.007018, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.444e-05/0.007103, allocations: 69.62 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.007114, allocations: 9.875 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.007119, allocations: 3.938 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.007132, allocations: 0 / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.229e-05/0.007204, allocations: 15.98 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.007209, allocations: 4.031 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.007234, allocations: 4 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-06/0.00724, allocations: 4 kB / 384.2 MB, free: 12.5 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 6.61e-05/0.007306, allocations: 164.5 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.007326, allocations: 11.95 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.007459, allocations: 78.39 kB / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007461, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.007464, allocations: 0 / 384.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.007468, allocations: 4.281 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.007711, allocations: 341.4 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007712, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.007754, allocations: 19.98 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.007757, allocations: 3.984 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.007763, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.007766, allocations: 4.406 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.007767, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.007879, allocations: 223.8 kB / 385.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.007888, allocations: 7.938 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.007901, allocations: 4 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.07e-05/0.007941, allocations: 11.94 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.00797, allocations: 7.984 kB / 385.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.007975, allocations: 8 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.374e-05/0.008029, allocations: 147.2 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008029, allocations: 0 / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.008208, allocations: 43.88 kB / 385.3 MB, free: 11.35 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.000934/0.009142, allocations: 488.4 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.009244, allocations: 47.59 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.009245, allocations: 4 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.994e-05/0.009275, allocations: 27.67 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.009477, allocations: 27.88 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.009779, allocations: 200.8 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.009817, allocations: 67.33 kB / 386.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.009867, allocations: 20.72 kB / 386.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.0099, allocations: 20.48 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0099, allocations: 0 / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of Templates: time 0.003305/0.01321, allocations: 2.006 MB / 388.2 MB, free: 8.594 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.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.4017870761454105]