Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0009411/0.0009411, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.0009312/0.0009312, allocations: 163.8 kB / 24.99 MB, free: 8.254 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2793/0.2793, allocations: 32.81 MB / 294.6 MB, free: 1.16 MB / 266.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 3.984 kB / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.936e-05, allocations: 6.25 kB / 376 MB, free: 4.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003438/0.003467, allocations: 2.05 MB / 378.1 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.005063, allocations: 1.101 MB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001751/0.005238, allocations: 4 kB / 379.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.005739, allocations: 270.9 kB / 379.4 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005209/0.00626, allocations: 262.9 kB / 379.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.007439, allocations: 0.643 MB / 380.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004622/0.007901, allocations: 359 kB / 380.7 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.008073, allocations: 56.83 kB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002058/0.008279, allocations: 187.4 kB / 380.9 MB, free: 12 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.008511, allocations: 207.5 kB / 381.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.008542, allocations: 8 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.008748, allocations: 103.9 kB / 381.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.008866, allocations: 99.61 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.00893, allocations: 63.66 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000366/0.009296, allocations: 278.7 kB / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.0093, allocations: 0 / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.009301, allocations: 0 / 381.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.009307, allocations: 0 / 381.7 MB, free: 15.27 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007216/0.01003, allocations: 0.7087 MB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.01008, allocations: 12.03 kB / 382.4 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.01018, allocations: 52.66 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.0105, allocations: 278.7 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.01052, allocations: 4.375 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.01056, allocations: 12.38 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.01076, allocations: 102.9 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01077, allocations: 4.188 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.01078, allocations: 4.125 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.01079, allocations: 4 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.01087, allocations: 40.56 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.01139, allocations: 487.3 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.01151, allocations: 82.91 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.01155, allocations: 23.69 kB / 383.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.01158, allocations: 3.984 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.0116, allocations: 37.39 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.0116, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006654/0.01227, allocations: 330.5 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/0.01245, allocations: 55.62 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.0128, allocations: 494.7 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.01282, allocations: 33.64 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.01295, allocations: 263.2 kB / 384.6 MB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.01299, allocations: 63.47 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.01304, allocations: 39.36 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.01318, allocations: 0.5313 MB / 385.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/0.01323, allocations: 35.89 kB / 385.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.43e-05/0.01328, allocations: 27.98 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.01338, allocations: 81.48 kB / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01338, allocations: 0 / 385.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000206/0.01359, allocations: 157.3 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.0136, allocations: 7.938 kB / 385.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.01361, allocations: 7.984 kB / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.01363, allocations: 0 / 385.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01376, allocations: 35.92 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01377, allocations: 0 / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.971e-05/0.0138, allocations: 8 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.01382, allocations: 4 kB / 385.6 MB, free: 11.08 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 (17): * Single equations (assignments): 17 * 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.0001098/0.01393, allocations: 160.6 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.01398, allocations: 51.7 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.01425, allocations: 187.9 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.01426, allocations: 4 kB / 386 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01426, allocations: 4 kB / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.01426, allocations: 0 / 386 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.01475, allocations: 0.5751 MB / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01475, allocations: 0 / 386.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.01482, allocations: 27.98 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01483, allocations: 0 / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01484, allocations: 12 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01484, allocations: 0 / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01484, allocations: 0 / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.01505, allocations: 329.4 kB / 387 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.01508, allocations: 39.66 kB / 387 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.0151, allocations: 8 kB / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.01515, allocations: 0 / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.01519, allocations: 15.97 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.0152, allocations: 8 kB / 387 MB, free: 9.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.01541, allocations: 327 kB / 387.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01541, allocations: 0 / 387.4 MB, free: 9.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.01563, allocations: 51.92 kB / 387.4 MB, free: 9.23 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 (17): * Single equations (assignments): 17 * 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.001602/0.01723, allocations: 0.647 MB / 388.1 MB, free: 8.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.01741, allocations: 95.48 kB / 388.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01742, allocations: 0 / 388.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.822e-05/0.01747, allocations: 62.56 kB / 388.2 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.01782, allocations: 91.73 kB / 388.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.01855, allocations: 0.5938 MB / 388.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.735e-05/0.01862, allocations: 116.3 kB / 389 MB, free: 7.859 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.01873, allocations: 61.88 kB / 389.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.18e-05/0.01878, allocations: 28.5 kB / 389.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.01878, allocations: 0 / 389.1 MB, free: 7.773 MB / 362.7 MB Notification: Performance of Templates: time 0.005878/0.02466, allocations: 3.45 MB / 392.5 MB, free: 4.367 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.3929819751065224]