Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001096/0.001096, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001261/0.001261, allocations: 174.4 kB / 25.61 MB, free: 8.891 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 0.961/0.961, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.1485/0.1485, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.782e-05, allocations: 6.141 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.001951/0.001969, allocations: 1.63 MB / 378.9 MB, free: 23.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.00314, allocations: 1.27 MB / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.003216, allocations: 0 / 380.2 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002215/0.003437, allocations: 19.8 kB / 380.2 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002724/0.00371, allocations: 87.55 kB / 380.3 MB, free: 22.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.003893, allocations: 95.62 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.004026, allocations: 63.84 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.827e-05/0.004104, allocations: 19.83 kB / 380.5 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.004153, allocations: 35.8 kB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.386e-05/0.004237, allocations: 27.47 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.00425, allocations: 11.94 kB / 380.5 MB, free: 22.32 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.004356, allocations: 95.81 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.004392, allocations: 11.94 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.004412, allocations: 11.98 kB / 380.6 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.004579, allocations: 135.5 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.004581, allocations: 0 / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.7e-07/0.004581, allocations: 0 / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.004585, allocations: 0 / 380.8 MB, free: 22.07 MB / 314.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.0002993/0.004884, allocations: 420 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.004918, allocations: 15.98 kB / 381.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.004949, allocations: 8.891 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.005052, allocations: 140.5 kB / 381.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.00506, allocations: 8.375 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.005077, allocations: 384 / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.48e-05/0.005171, allocations: 108 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.005179, allocations: 192 / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.005188, allocations: 12.05 kB / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.005191, allocations: 0 / 381.5 MB, free: 21.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.005211, allocations: 4 kB / 381.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.005388, allocations: 256.4 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.005506, allocations: 43 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.00552, allocations: 19.77 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.005536, allocations: 0 / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.005551, allocations: 37.33 kB / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005551, allocations: 0 / 381.8 MB, free: 20.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002416/0.005793, allocations: 85.5 kB / 381.9 MB, free: 20.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.005818, allocations: 81.11 kB / 382 MB, free: 20.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.005896, allocations: 195.9 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.005903, allocations: 29.7 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.005935, allocations: 142.9 kB / 382.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.005951, allocations: 15.84 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.005976, allocations: 31.36 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.238e-05/0.006029, allocations: 0.4923 MB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.408e-06/0.006038, allocations: 4 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.006062, allocations: 45.08 kB / 382.9 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.006088, allocations: 31.61 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006089, allocations: 0 / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.595e-05/0.006145, allocations: 53.59 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.006156, allocations: 8 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.006159, allocations: 256 / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.006167, allocations: 3.984 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.589e-05/0.006203, allocations: 16.03 kB / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.006206, allocations: 0 / 383 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.771e-05/0.006224, allocations: 4 kB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.006228, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.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 4.413e-05/0.006272, allocations: 168.5 kB / 383.2 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.006292, allocations: 11.89 kB / 383.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.006428, allocations: 62.09 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.00643, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.006432, allocations: 0 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.006436, allocations: 4.266 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.006629, allocations: 309.9 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00663, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.006669, allocations: 11.98 kB / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.006671, allocations: 0 / 383.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.006679, allocations: 11.98 kB / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.00668, allocations: 0 / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.006681, allocations: 0 / 383.6 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.771e-05/0.006759, allocations: 203.8 kB / 383.8 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.006768, allocations: 11.95 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006779, allocations: 3.938 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.274e-05/0.006812, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.00684, allocations: 15.98 kB / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.006844, allocations: 0 / 383.8 MB, free: 18.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.132e-05/0.006885, allocations: 149.4 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006885, allocations: 0 / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001757/0.007061, allocations: 31.94 kB / 384 MB, free: 18.52 MB / 314.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.0009406/0.008002, allocations: 494.4 kB / 384.5 MB, free: 18.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.927e-05/0.008091, allocations: 31.61 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.008092, allocations: 0 / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.008114, allocations: 19.62 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.008324, allocations: 22.77 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.008606, allocations: 159.9 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.89e-05/0.008635, allocations: 63.2 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.948e-05/0.008675, allocations: 20.22 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.89e-05/0.008734, allocations: 82.19 kB / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008734, allocations: 0 / 384.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of Templates: time 0.003412/0.01215, allocations: 2.04 MB / 386.9 MB, free: 15.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.2300647580996156]