Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.0008914/0.0008914, allocations: 81.97 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.0009709/0.0009709, allocations: 170.6 kB / 25.61 MB, free: 8.582 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.9176/0.9176, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1379/0.1379, allocations: 34.25 MB / 296.9 MB, free: 14.02 MB / 282.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.353e-05, allocations: 2.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002587/0.002601, allocations: 1.641 MB / 381 MB, free: 21.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009089/0.003509, allocations: 0.5453 MB / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.00358, allocations: 0 / 381.5 MB, free: 21.2 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.003896, allocations: 123.6 kB / 381.6 MB, free: 21.07 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.004194, allocations: 127.5 kB / 381.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.004461, allocations: 119.5 kB / 381.9 MB, free: 20.83 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.004618, allocations: 95.8 kB / 382 MB, free: 20.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.004712, allocations: 15.98 kB / 382 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.215e-05/0.004794, allocations: 59.8 kB / 382 MB, free: 20.66 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.004917, allocations: 87.83 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.004933, allocations: 4 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.138e-05/0.005024, allocations: 47.91 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.005073, allocations: 27.86 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.0051, allocations: 15.94 kB / 382.2 MB, free: 20.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.005264, allocations: 103.6 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005266, allocations: 0 / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005267, allocations: 0 / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.005271, allocations: 4 kB / 382.3 MB, free: 20.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003633/0.005634, allocations: 479.5 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.005666, allocations: 8.031 kB / 382.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.005707, allocations: 16.84 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005841, allocations: 148.4 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.005852, allocations: 4.375 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.005871, allocations: 8.359 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.005978, allocations: 50.95 kB / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.005989, allocations: 192 / 383 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.005998, allocations: 8.125 kB / 383 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.006004, allocations: 8 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.222e-05/0.006037, allocations: 15.91 kB / 383 MB, free: 19.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.006304, allocations: 272.4 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.709e-05/0.006371, allocations: 35.05 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.00639, allocations: 15.77 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.006407, allocations: 7.938 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.006426, allocations: 41.33 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.006427, allocations: 0 / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005455/0.006973, allocations: 161.8 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.037e-05/0.006993, allocations: 51.41 kB / 383.6 MB, free: 18.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.007146, allocations: 270.7 kB / 383.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.007152, allocations: 25.7 kB / 383.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.007205, allocations: 166.8 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.007231, allocations: 27.73 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.00726, allocations: 31.36 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.007317, allocations: 0.5079 MB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.007339, allocations: 7.984 kB / 384.6 MB, free: 17.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.007359, allocations: 8 kB / 384.6 MB, free: 17.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.007406, allocations: 35.61 kB / 384.7 MB, free: 17.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007408, allocations: 3.938 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001006/0.007508, allocations: 73.59 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.007521, allocations: 4 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.007526, allocations: 7.922 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.007536, allocations: 0 / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.007617, allocations: 16 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.007619, allocations: 0 / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.00765, allocations: 3.984 kB / 384.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.007658, allocations: 11.98 kB / 384.8 MB, free: 17.68 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 (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 5.169e-05/0.007709, allocations: 164.5 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.007747, allocations: 15.91 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.007894, allocations: 95.42 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.007898, allocations: 7.984 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.007899, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.007902, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.008212, allocations: 353.5 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.008215, allocations: 4 kB / 385.4 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.008272, allocations: 15.94 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.008275, allocations: 4.031 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.008281, allocations: 0 / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.008283, allocations: 4 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.008285, allocations: 3.984 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.487e-05/0.00837, allocations: 235.5 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-06/0.008379, allocations: 11.91 kB / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.00839, allocations: 0 / 385.7 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.601e-05/0.008426, allocations: 4 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.008446, allocations: 7.984 kB / 385.7 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.008451, allocations: 7.938 kB / 385.7 MB, free: 16.69 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.571e-05/0.008496, allocations: 180.1 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008496, allocations: 4 kB / 385.9 MB, free: 16.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.008658, allocations: 27.92 kB / 385.9 MB, free: 16.48 MB / 314.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.0007864/0.009445, allocations: 433 kB / 386.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.293e-05/0.009517, allocations: 43.66 kB / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.009519, allocations: 0 / 386.4 MB, free: 16.17 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.00954, allocations: 27.61 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.009744, allocations: 26.62 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.01, allocations: 265.5 kB / 386.7 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.01003, allocations: 83.12 kB / 386.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.01006, allocations: 16.72 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.0101, allocations: 82.19 kB / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0101, allocations: 0 / 386.9 MB, free: 15.62 MB / 314.7 MB Notification: Performance of Templates: time 0.003032/0.01313, allocations: 1.565 MB / 388.4 MB, free: 14.07 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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: 2.921235512010753]