Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001413/0.001413, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001045/0.001045, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.297/0.297, allocations: 34.26 MB / 296 MB, free: 0.7773 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 378 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.588e-05, allocations: 2.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002401/0.002427, allocations: 2.032 MB / 380.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.003899, allocations: 1.328 MB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.003999, allocations: 7.938 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.004222, allocations: 55.52 kB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.004581, allocations: 222.8 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.005251, allocations: 0.5885 MB / 382.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.00553, allocations: 327 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.005687, allocations: 40.91 kB / 382.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.005889, allocations: 175.5 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.006061, allocations: 175.6 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.006089, allocations: 16 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/0.006185, allocations: 67.91 kB / 383 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.006299, allocations: 147.5 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.006371, allocations: 87.58 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.006663, allocations: 318.6 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006665, allocations: 0 / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006666, allocations: 4 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.00667, allocations: 3.938 kB / 383.6 MB, free: 13.38 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006713/0.007342, allocations: 0.8212 MB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.007376, allocations: 8.031 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.007565, allocations: 80.5 kB / 384.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.007899, allocations: 352.7 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.007913, allocations: 8.375 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.007937, allocations: 8.375 kB / 384.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.008113, allocations: 141.1 kB / 385 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.008126, allocations: 7.875 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.008139, allocations: 4 kB / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.008147, allocations: 0 / 385 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.171e-05/0.008219, allocations: 35.97 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.008818, allocations: 0.6739 MB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.008928, allocations: 90.23 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.008968, allocations: 39.42 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.008989, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.009014, allocations: 45.39 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/0.009015, allocations: 4 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006771/0.009692, allocations: 419.5 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.009728, allocations: 81.11 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004739/0.0102, allocations: 0.6627 MB / 387 MB, free: 9.723 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.01022, allocations: 29.7 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.01038, allocations: 315.1 kB / 387.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.01042, allocations: 59.47 kB / 387.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.01049, allocations: 39.36 kB / 387.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.01064, allocations: 0.5586 MB / 388 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.01069, allocations: 20.2 kB / 388.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.01074, allocations: 54.67 kB / 388.1 MB, free: 8.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.01084, allocations: 75.44 kB / 388.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.01085, allocations: 0 / 388.2 MB, free: 8.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001804/0.01103, allocations: 165.2 kB / 388.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.01104, allocations: 4 kB / 388.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.01104, allocations: 0 / 388.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01105, allocations: 0 / 388.3 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.01117, allocations: 39.97 kB / 388.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01117, allocations: 0 / 388.4 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.01122, allocations: 11.97 kB / 388.4 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.01123, allocations: 12 kB / 388.4 MB, free: 8.301 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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 8.634e-05/0.01132, allocations: 164.5 kB / 388.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.289e-05/0.01138, allocations: 63.56 kB / 388.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.01164, allocations: 199 kB / 388.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01164, allocations: 4 kB / 388.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01164, allocations: 0 / 388.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01165, allocations: 0 / 388.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007673/0.01241, allocations: 0.7346 MB / 389.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01242, allocations: 0 / 389.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.01252, allocations: 43.91 kB / 389.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01253, allocations: 0 / 389.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.01254, allocations: 0 / 389.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.01254, allocations: 4 kB / 389.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01254, allocations: 0 / 389.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.01285, allocations: 430.7 kB / 390 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.01292, allocations: 59.61 kB / 390.1 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.01296, allocations: 4 kB / 390.1 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.01308, allocations: 8 kB / 390.1 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.01314, allocations: 19.91 kB / 390.1 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.01315, allocations: 7.938 kB / 390.1 MB, free: 6.496 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004017/0.01355, allocations: 446.7 kB / 390.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01355, allocations: 0 / 390.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000338/0.01389, allocations: 51.94 kB / 390.6 MB, free: 6.012 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 (16): * Single equations (assignments): 16 * 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.0009696/0.01486, allocations: 387.7 kB / 391 MB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.01505, allocations: 83.52 kB / 391.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01505, allocations: 0 / 391.1 MB, free: 5.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.87e-05/0.01513, allocations: 51.59 kB / 391.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.01563, allocations: 97.67 kB / 391.2 MB, free: 5.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.01677, allocations: 0.7795 MB / 392 MB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.01688, allocations: 140.5 kB / 392.1 MB, free: 4.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000136/0.01701, allocations: 62.91 kB / 392.2 MB, free: 4.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.0171, allocations: 40.48 kB / 392.2 MB, free: 4.473 MB / 362.7 MB Notification: Performance of SimCode: time 6.02e-07/0.0171, allocations: 0 / 392.2 MB, free: 4.473 MB / 362.7 MB Notification: Performance of Templates: time 0.007669/0.02477, allocations: 4.176 MB / 396.4 MB, free: 340 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.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.2444344761315733]