Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001805/0.001805, 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.002023/0.002023, 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.586/1.586, allocations: 177.1 MB / 204.6 MB, free: 5.605 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.3343/0.3343, allocations: 32.8 MB / 293.9 MB, free: 1.195 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.574e-06/2.574e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.073e-05/4.33e-05, allocations: 2.312 kB / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.006429/0.006472, allocations: 2.003 MB / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004843/0.01132, allocations: 1.332 MB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.0115, allocations: 4 kB / 378.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000441/0.01194, allocations: 59.38 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009071/0.01285, allocations: 211.1 kB / 378.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.01557, allocations: 0.5885 MB / 379.5 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.01644, allocations: 330.9 kB / 379.8 MB, free: 448 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.01671, allocations: 56.88 kB / 379.8 MB, free: 392 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005232/0.01723, allocations: 171.5 kB / 380 MB, free: 220 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.01766, allocations: 175.6 kB / 380.2 MB, free: 44 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.428e-05/0.01773, allocations: 12 kB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.01801, allocations: 67.86 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003306/0.01834, allocations: 159.4 kB / 380.4 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.01853, allocations: 75.66 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008968/0.01942, allocations: 386.5 kB / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.01943, allocations: 0 / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.01943, allocations: 0 / 380.9 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.01944, allocations: 0 / 380.9 MB, free: 15.36 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.002039/0.02148, allocations: 0.8365 MB / 381.7 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.02153, allocations: 8.031 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.02203, allocations: 84.5 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.02307, allocations: 360.5 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.0231, allocations: 8.375 kB / 382.2 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.558e-05/0.02315, allocations: 12.38 kB / 382.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005092/0.02366, allocations: 132.2 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/0.02369, allocations: 3.938 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.02372, allocations: 4 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.02373, allocations: 4 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.02414, allocations: 67.83 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.0261, allocations: 0.7169 MB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.02655, allocations: 114.2 kB / 383.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.02675, allocations: 43.48 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.701e-05/0.02679, allocations: 4 kB / 383.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.076e-05/0.02686, allocations: 41.38 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.713e-06/0.02686, allocations: 0 / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.002651/0.02952, allocations: 0.4955 MB / 383.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.02963, allocations: 89.05 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.03138, allocations: 0.7213 MB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.03142, allocations: 25.7 kB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/0.03197, allocations: 335.1 kB / 384.9 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.03209, allocations: 59.7 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.03223, allocations: 43.36 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000624/0.03285, allocations: 0.582 MB / 385.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.03312, allocations: 35.98 kB / 385.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.03345, allocations: 71.34 kB / 385.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.03409, allocations: 127.5 kB / 385.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.03409, allocations: 0 / 385.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009173/0.03501, allocations: 221.1 kB / 386.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.03503, allocations: 4 kB / 386.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.03504, allocations: 0 / 386.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.03506, allocations: 4.75 kB / 386.1 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.0354, allocations: 39.91 kB / 386.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.03541, allocations: 0 / 386.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.03563, allocations: 12 kB / 386.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.03566, allocations: 4 kB / 386.1 MB, free: 9.824 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002832/0.03594, allocations: 176.6 kB / 386.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.03616, allocations: 63.56 kB / 386.4 MB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.03724, allocations: 230.2 kB / 386.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.03725, allocations: 4 kB / 386.6 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.03726, allocations: 4 kB / 386.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.03726, allocations: 0 / 386.6 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.03973, allocations: 0.8403 MB / 387.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.03973, allocations: 0 / 387.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.04006, allocations: 35.97 kB / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.04006, allocations: 0 / 387.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.0401, allocations: 4 kB / 387.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.04011, allocations: 3.984 kB / 387.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.04011, allocations: 0 / 387.5 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.04128, allocations: 486.6 kB / 388 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.04153, allocations: 59.61 kB / 388 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/0.04161, allocations: 7.938 kB / 388 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.04195, allocations: 8 kB / 388 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.04205, allocations: 11.97 kB / 388 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.04208, allocations: 4 kB / 388.1 MB, free: 7.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001106/0.04318, allocations: 478.7 kB / 388.5 MB, free: 7.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.04318, allocations: 0 / 388.5 MB, free: 7.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006825/0.04387, allocations: 51.94 kB / 388.6 MB, free: 7.309 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.004701/0.04857, allocations: 439.7 kB / 389 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000742/0.04931, allocations: 127.5 kB / 389.1 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.04931, allocations: 0 / 389.1 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.04963, allocations: 83.58 kB / 389.2 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.05067, allocations: 84.34 kB / 389.3 MB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.05285, allocations: 0.8044 MB / 390.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.05332, allocations: 258.8 kB / 390.3 MB, free: 5.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003176/0.05364, allocations: 71.52 kB / 390.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.05381, allocations: 36.48 kB / 390.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.05381, allocations: 0 / 390.5 MB, free: 5.543 MB / 362.7 MB Notification: Performance of Templates: time 0.01478/0.06859, allocations: 4.144 MB / 394.6 MB, free: 1.43 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.125970310997218]