Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.0008939/0.0008939, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002182, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007605/0.0007605, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001089/0.001849, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.132/1.132, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1046/1.237, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.2742/0.2742, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04334/0.3175, allocations: 13.11 MB / 291.5 MB, free: 7.332 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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.71e-07/8.71e-07, allocations: 0 / 292.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.439e-05, allocations: 2.312 kB / 292.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.001969/0.001983, allocations: 1.674 MB / 294.5 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006728/0.002656, allocations: 0.5491 MB / 295.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.991e-05/0.002696, allocations: 0 / 295.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.002802, allocations: 35.72 kB / 295.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.002959, allocations: 75.56 kB / 295.2 MB, free: 3.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.003144, allocations: 95.58 kB / 295.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.00325, allocations: 63.84 kB / 295.3 MB, free: 3.684 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.97e-05/0.00331, allocations: 19.91 kB / 295.4 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.255e-05/0.003383, allocations: 47.84 kB / 295.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.003421, allocations: 11.98 kB / 295.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.003432, allocations: 7.938 kB / 295.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.089e-05/0.003493, allocations: 35.92 kB / 295.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.003522, allocations: 8 kB / 295.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.003539, allocations: 7.938 kB / 295.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.00365, allocations: 75.69 kB / 295.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.003658, allocations: 0 / 295.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003659, allocations: 3.938 kB / 295.6 MB, free: 3.469 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.003666, allocations: 0 / 295.6 MB, free: 3.469 MB / 282.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.0002917/0.003958, allocations: 297.3 kB / 295.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.543e-05/0.003983, allocations: 12.03 kB / 295.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.004007, allocations: 4.938 kB / 295.9 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.004114, allocations: 129.7 kB / 296 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-06/0.00412, allocations: 384 / 296 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.004134, allocations: 4.375 kB / 296 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.91e-05/0.004203, allocations: 58.94 kB / 296.1 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.00421, allocations: 4.125 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.004217, allocations: 8.109 kB / 296.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.004221, allocations: 4 kB / 296.1 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.004237, allocations: 4 kB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.004391, allocations: 167 kB / 296.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.98e-05/0.004491, allocations: 30.64 kB / 296.3 MB, free: 2.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.139e-05/0.004502, allocations: 4.859 kB / 296.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.004514, allocations: 12.02 kB / 296.3 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.563e-05/0.00453, allocations: 30.56 kB / 296.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.004531, allocations: 4 kB / 296.3 MB, free: 2.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002166/0.004747, allocations: 85.52 kB / 296.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.004768, allocations: 51.41 kB / 296.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.004856, allocations: 153 kB / 296.6 MB, free: 2.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.004866, allocations: 25.7 kB / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.669e-05/0.004892, allocations: 92.11 kB / 296.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.00491, allocations: 19.84 kB / 296.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/0.005212, allocations: 21.64 kB / 296.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.005282, allocations: 318.8 kB / 297.1 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-06/0.005289, allocations: 4 kB / 297.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-06/0.005298, allocations: 12.06 kB / 297.1 MB, free: 1.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.335e-05/0.005322, allocations: 20.84 kB / 297.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.005323, allocations: 0 / 297.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.909e-05/0.005372, allocations: 57.55 kB / 297.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.005382, allocations: 8 kB / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.005385, allocations: 0 / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/0.005393, allocations: 0 / 297.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.977e-05/0.005433, allocations: 8 kB / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.876e-06/0.005436, allocations: 0 / 297.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.005452, allocations: 7.984 kB / 297.2 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-06/0.005455, allocations: 0 / 297.2 MB, free: 1.684 MB / 282.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.0002155/0.005671, allocations: 124.7 kB / 297.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/0.005686, allocations: 7.938 kB / 297.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.005758, allocations: 58.08 kB / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.00576, allocations: 0 / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.005762, allocations: 0 / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005764, allocations: 0 / 297.4 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.005919, allocations: 214.8 kB / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005921, allocations: 0 / 297.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.842e-05/0.005949, allocations: 20.23 kB / 297.6 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.245e-06/0.005957, allocations: 7.953 kB / 297.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.005959, allocations: 4 kB / 297.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.005963, allocations: 4 kB / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005964, allocations: 0 / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.61e-07/0.005965, allocations: 0 / 297.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.725e-05/0.006032, allocations: 147.5 kB / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.986e-06/0.006041, allocations: 0 / 297.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.858e-05/0.00607, allocations: 4 kB / 297.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.006085, allocations: 4 kB / 297.8 MB, free: 1.039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.006088, allocations: 3.984 kB / 297.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.018e-05/0.006119, allocations: 35.97 kB / 297.8 MB, free: 1 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006119, allocations: 8 kB / 297.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001216/0.00624, allocations: 15.95 kB / 297.8 MB, free: 0.9766 MB / 282.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.001166/0.007406, allocations: 0.567 MB / 298.4 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.341e-05/0.00747, allocations: 24.78 kB / 298.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.007474, allocations: 0 / 298.4 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.007495, allocations: 16.86 kB / 298.4 MB, free: 0.668 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.007657, allocations: 83.38 kB / 298.5 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.00799, allocations: 175.1 kB / 298.7 MB, free: 380 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.106e-05/0.008021, allocations: 63.34 kB / 298.8 MB, free: 296 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.442e-05/0.008045, allocations: 7.984 kB / 298.8 MB, free: 288 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.008089, allocations: 59.38 kB / 298.8 MB, free: 228 kB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.00809, allocations: 0 / 298.8 MB, free: 228 kB / 282.7 MB Notification: Performance of Templates: time 0.002564/0.01065, allocations: 1.267 MB / 300.1 MB, free: 14.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9243305707350373]