Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.0008325/0.0008325, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002217, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0008089/0.0008089, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001903, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.9076/0.9076, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1483/1.056, allocations: 49.51 MB / 220.7 MB, free: 1.355 MB / 218.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.1276/0.1276, allocations: 32.35 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02234/0.1499, allocations: 12.32 MB / 266.1 MB, free: 3.871 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 267.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.992e-05/3.224e-05, allocations: 6.25 kB / 267.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.00355/0.003583, allocations: 1.693 MB / 269.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006459/0.004229, allocations: 371.1 kB / 269.5 MB, free: 476 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.357e-05/0.004292, allocations: 0 / 269.5 MB, free: 476 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005823/0.004874, allocations: 0.4912 MB / 269.9 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.005213, allocations: 267.2 kB / 270.2 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.00564, allocations: 163.5 kB / 270.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.005928, allocations: 171.7 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.006024, allocations: 8 kB / 270.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.006241, allocations: 155.8 kB / 270.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.006505, allocations: 191.7 kB / 270.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.006529, allocations: 4 kB / 270.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.006632, allocations: 39.86 kB / 270.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.00673, allocations: 83.66 kB / 271 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.006776, allocations: 31.75 kB / 271 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.007049, allocations: 195.2 kB / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.007062, allocations: 0 / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007063, allocations: 0 / 271.2 MB, free: 14.69 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.007076, allocations: 0 / 271.2 MB, free: 14.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007209/0.007797, allocations: 0.5954 MB / 271.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.007836, allocations: 15.97 kB / 271.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.225e-05/0.007908, allocations: 20.92 kB / 271.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.008193, allocations: 242.1 kB / 272.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.008204, allocations: 384 / 272.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.008232, allocations: 12.36 kB / 272.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.008364, allocations: 54.94 kB / 272.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.008375, allocations: 192 / 272.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.008386, allocations: 8.125 kB / 272.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.008393, allocations: 4 kB / 272.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.008423, allocations: 15.92 kB / 272.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.008765, allocations: 203.1 kB / 272.4 MB, free: 13.45 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.099e-05/0.008836, allocations: 22.58 kB / 272.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.008857, allocations: 8.859 kB / 272.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.008879, allocations: 7.938 kB / 272.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.008907, allocations: 38.58 kB / 272.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.008908, allocations: 0 / 272.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004067/0.009315, allocations: 125.5 kB / 272.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.009347, allocations: 55.41 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.009809, allocations: 0.5244 MB / 273.2 MB, free: 12.62 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.009823, allocations: 25.7 kB / 273.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.582e-05/0.009899, allocations: 137.3 kB / 273.3 MB, free: 12.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.009931, allocations: 27.75 kB / 273.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.009969, allocations: 17.7 kB / 273.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.0101, allocations: 362.7 kB / 273.7 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.317e-05/0.01012, allocations: 7.984 kB / 273.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.799e-05/0.01014, allocations: 4 kB / 273.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.01019, allocations: 27.67 kB / 273.8 MB, free: 12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.0102, allocations: 11.98 kB / 273.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001086/0.0103, allocations: 69.55 kB / 273.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01032, allocations: 8 kB / 273.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.01032, allocations: 0 / 273.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.01034, allocations: 0 / 273.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.93e-05/0.01043, allocations: 19.98 kB / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.01044, allocations: 0 / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.01048, allocations: 7.984 kB / 273.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.01049, allocations: 3.938 kB / 273.9 MB, free: 11.87 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 (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.0001031/0.01059, allocations: 112.7 kB / 274 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.616e-05/0.01064, allocations: 31.91 kB / 274 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.0108, allocations: 101.8 kB / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.0108, allocations: 7.984 kB / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.01081, allocations: 0 / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.01081, allocations: 0 / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003429/0.01115, allocations: 278.6 kB / 274.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01116, allocations: 0 / 274.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.855e-05/0.01122, allocations: 16 kB / 274.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.01126, allocations: 35.7 kB / 274.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01127, allocations: 0 / 274.5 MB, free: 11.26 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.01127, allocations: 12 kB / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01127, allocations: 0 / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01128, allocations: 0 / 274.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.01142, allocations: 171.4 kB / 274.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.01144, allocations: 0 / 274.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.01152, allocations: 4 kB / 274.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.01157, allocations: 16.2 kB / 274.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01157, allocations: 0 / 274.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002957/0.01187, allocations: 279.2 kB / 274.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01187, allocations: 0 / 274.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.01213, allocations: 31.92 kB / 275 MB, free: 10.74 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 (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.001664/0.01379, allocations: 0.5468 MB / 275.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.01391, allocations: 24.8 kB / 275.5 MB, free: 10.15 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.01393, allocations: 8 kB / 275.5 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.993e-05/0.01398, allocations: 28.83 kB / 275.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.01449, allocations: 101.3 kB / 275.7 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.01555, allocations: 0.5901 MB / 276.2 MB, free: 9.379 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.01567, allocations: 127.2 kB / 276.4 MB, free: 9.234 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.612e-05/0.01573, allocations: 8.453 kB / 276.4 MB, free: 9.227 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.01581, allocations: 63.36 kB / 276.4 MB, free: 9.164 MB / 282.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01581, allocations: 0 / 276.4 MB, free: 9.164 MB / 282.7 MB Notification: Performance of Templates: time 0.005334/0.02115, allocations: 1.579 MB / 278 MB, free: 7.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8460005642846227]