Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.001819/0.001819, 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.001976/0.001976, 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.6/1.6, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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.3665/0.3665, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.366e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.00371/0.003743, allocations: 1.61 MB / 378.9 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002387/0.006131, allocations: 1.266 MB / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.833e-05/0.006199, allocations: 0 / 380.2 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002571/0.006456, allocations: 27.8 kB / 380.2 MB, free: 32 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000439/0.006895, allocations: 83.55 kB / 380.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.00728, allocations: 115.6 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.007474, allocations: 67.83 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.007586, allocations: 11.98 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.00769, allocations: 27.92 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.007836, allocations: 31.89 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.00787, allocations: 4 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.008102, allocations: 95.75 kB / 380.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.008163, allocations: 11.94 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.008211, allocations: 19.92 kB / 380.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.008567, allocations: 143.6 kB / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.008571, allocations: 0 / 380.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.008573, allocations: 7.938 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.008578, allocations: 0 / 380.8 MB, free: 15.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006937/0.009271, allocations: 431.6 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.009317, allocations: 12.03 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.009384, allocations: 8.891 kB / 381.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.009628, allocations: 136.5 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.009638, allocations: 384 / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.009663, allocations: 4.375 kB / 381.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.009877, allocations: 91.27 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.009889, allocations: 192 / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.009905, allocations: 12.12 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.009909, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.01, allocations: 19.97 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004807/0.01048, allocations: 287.8 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.01073, allocations: 50.98 kB / 381.8 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.01079, allocations: 15.77 kB / 381.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.491e-05/0.01081, allocations: 7.938 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.01085, allocations: 33.39 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.01085, allocations: 3.938 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006208/0.01147, allocations: 133.4 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.01154, allocations: 77.11 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.01179, allocations: 212.2 kB / 382.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.01181, allocations: 25.7 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01192, allocations: 150.9 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.01195, allocations: 11.91 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.012, allocations: 23.38 kB / 382.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002795/0.01228, allocations: 0.4923 MB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.834e-05/0.01235, allocations: 15.98 kB / 383 MB, free: 12.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.38e-05/0.01244, allocations: 61.08 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.01257, allocations: 43.61 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01257, allocations: 192 / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002039/0.01278, allocations: 81.56 kB / 383.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.0128, allocations: 8 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01281, allocations: 0 / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.01282, allocations: 0 / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.01289, allocations: 11.98 kB / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.01289, allocations: 32 / 383.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.396e-05/0.01294, allocations: 8 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.01294, allocations: 0 / 383.2 MB, free: 12.75 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 0.0001456/0.01309, allocations: 160.6 kB / 383.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.01313, allocations: 11.89 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.01339, allocations: 94 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01339, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01339, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.0134, allocations: 0 / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.01391, allocations: 353.3 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01391, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.01397, allocations: 8 kB / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.01397, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.01398, allocations: 0 / 383.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.01398, allocations: 7.984 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01398, allocations: 0 / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.01427, allocations: 219.8 kB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.01429, allocations: 16.12 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.01431, allocations: 0 / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.01438, allocations: 12 kB / 384.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.01443, allocations: 7.984 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.01444, allocations: 4 kB / 384.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002905/0.01473, allocations: 155.1 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01473, allocations: 0 / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002989/0.01503, allocations: 39.86 kB / 384.3 MB, free: 11.61 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.003397/0.01843, allocations: 0.5254 MB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.01864, allocations: 39.67 kB / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.01864, allocations: 0 / 384.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.01873, allocations: 35.61 kB / 384.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.01905, allocations: 33.83 kB / 384.9 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005317/0.01958, allocations: 177.9 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01969, allocations: 75.31 kB / 385.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.746e-05/0.01977, allocations: 19.97 kB / 385.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.01983, allocations: 20.5 kB / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01983, allocations: 0 / 385.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of Templates: time 0.006326/0.02616, allocations: 1.835 MB / 387.1 MB, free: 9.02 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.031877519912086]