Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001088/0.001088, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001306/0.001306, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.085/1.085, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.3146/0.3146, allocations: 34.27 MB / 296.1 MB, free: 0.6641 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.632e-05, allocations: 2.312 kB / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002251/0.002277, allocations: 1.646 MB / 380.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007245/0.003002, allocations: 0.5336 MB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.003065, allocations: 4 kB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.003314, allocations: 79.64 kB / 380.8 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002902/0.003604, allocations: 107.5 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.003857, allocations: 111.7 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.003995, allocations: 91.67 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.379e-05/0.004089, allocations: 12 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.75e-05/0.004157, allocations: 51.88 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.004245, allocations: 47.88 kB / 381.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.004259, allocations: 4 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.937e-05/0.004338, allocations: 43.92 kB / 381.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.004384, allocations: 31.91 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.004407, allocations: 11.94 kB / 381.3 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.004548, allocations: 95.59 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00455, allocations: 3.938 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.004552, allocations: 4 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004556, allocations: 0 / 381.4 MB, free: 15.46 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.0003823/0.004938, allocations: 439.9 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004972, allocations: 8.031 kB / 381.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.005004, allocations: 16.84 kB / 381.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.005115, allocations: 145.1 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-06/0.005123, allocations: 384 / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.00514, allocations: 8.375 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.776e-05/0.005227, allocations: 58.94 kB / 382 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.005237, allocations: 8.109 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.005245, allocations: 8.125 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.00525, allocations: 0 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.005271, allocations: 4 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.005501, allocations: 272.4 kB / 382.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.581e-05/0.005557, allocations: 39 kB / 382.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.005574, allocations: 15.77 kB / 382.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.005595, allocations: 8 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.005615, allocations: 37.33 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.005616, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003914/0.006007, allocations: 153.3 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.00603, allocations: 51.41 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.006143, allocations: 242.3 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.006152, allocations: 25.7 kB / 382.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.006207, allocations: 162.8 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.006231, allocations: 27.73 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.00626, allocations: 27.38 kB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.006372, allocations: 0.504 MB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.006387, allocations: 7.984 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.306e-05/0.0064, allocations: 11.94 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.685e-05/0.006437, allocations: 27.67 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.006439, allocations: 3.938 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.139e-05/0.006521, allocations: 69.62 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.006534, allocations: 8 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006538, allocations: 0 / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.006549, allocations: 0 / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.315e-05/0.006612, allocations: 23.92 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.006615, allocations: 0 / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.006633, allocations: 4.422 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.006639, allocations: 4 kB / 383.8 MB, free: 12.87 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 (8): * Single equations (assignments): 8 * 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.192e-05/0.006701, allocations: 160.5 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.006721, allocations: 15.91 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.006842, allocations: 79.44 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.006846, allocations: 7.984 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.006848, allocations: 4 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-06/0.006851, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.007114, allocations: 365.5 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.007117, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.474e-05/0.007152, allocations: 15.94 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.007154, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.007159, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.007161, allocations: 11.92 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.007162, allocations: 0 / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001055/0.007268, allocations: 231.5 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.007278, allocations: 15.84 kB / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.007288, allocations: 0 / 384.7 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-05/0.007319, allocations: 8.031 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.00734, allocations: 7.984 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.007345, allocations: 4 kB / 384.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.017e-05/0.007405, allocations: 167.1 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007405, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001485/0.007554, allocations: 16 kB / 384.9 MB, free: 11.7 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 (8): * Single equations (assignments): 8 * 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.0009252/0.008479, allocations: 440.6 kB / 385.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.785e-05/0.008557, allocations: 39.61 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.008558, allocations: 4 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.008583, allocations: 27.66 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.008779, allocations: 25.86 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.009068, allocations: 230.1 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.709e-05/0.009105, allocations: 71.33 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.565e-05/0.009141, allocations: 20.7 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.009192, allocations: 82.27 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009192, allocations: 0 / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003075/0.01227, allocations: 1.538 MB / 387.3 MB, free: 9.355 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.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.596290943212807]