Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009651/0.0009651, allocations: 81.95 kB / 21.44 MB, free: 3.062 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.001198/0.001198, allocations: 168.8 kB / 24.84 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9555/0.9555, allocations: 158.6 MB / 186.7 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1514/0.1514, allocations: 32.37 MB / 271.5 MB, free: 14.55 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.449e-05, allocations: 2.312 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003503/0.003528, allocations: 1.937 MB / 350.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.005277, allocations: 1.037 MB / 351.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.005404, allocations: 11.94 kB / 351.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.005689, allocations: 51.56 kB / 352 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.006062, allocations: 159.2 kB / 352.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.007069, allocations: 0.5341 MB / 352.6 MB, free: 5.418 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.007413, allocations: 291 kB / 352.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.007572, allocations: 40.92 kB / 353 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.007793, allocations: 159.5 kB / 353.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.008, allocations: 163.6 kB / 353.3 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.008037, allocations: 12 kB / 353.3 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.289e-05/0.00813, allocations: 43.92 kB / 353.3 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.008265, allocations: 147.5 kB / 353.5 MB, free: 4.582 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.857e-05/0.008344, allocations: 87.64 kB / 353.6 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.008643, allocations: 282.8 kB / 353.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.008645, allocations: 0 / 353.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.008646, allocations: 0 / 353.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.008653, allocations: 0 / 353.8 MB, free: 4.219 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007434/0.009396, allocations: 0.7862 MB / 354.6 MB, free: 3.395 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.009431, allocations: 8.031 kB / 354.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.445e-05/0.009515, allocations: 60.56 kB / 354.7 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.009826, allocations: 324.6 kB / 355 MB, free: 2.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.009841, allocations: 12.23 kB / 355 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.009868, allocations: 16.38 kB / 355 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.01004, allocations: 123.5 kB / 355.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.01006, allocations: 11.86 kB / 355.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.01007, allocations: 0 / 355.2 MB, free: 2.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.01008, allocations: 4 kB / 355.2 MB, free: 2.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.01015, allocations: 27.97 kB / 355.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.01074, allocations: 0.5612 MB / 355.8 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.01085, allocations: 90.02 kB / 355.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.01089, allocations: 27.62 kB / 355.9 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.01091, allocations: 7.984 kB / 355.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.01093, allocations: 41.39 kB / 355.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.01093, allocations: 0 / 355.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007231/0.01165, allocations: 252.9 kB / 356.2 MB, free: 1.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.01168, allocations: 85.09 kB / 356.3 MB, free: 1.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/0.01218, allocations: 0.5999 MB / 356.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.0122, allocations: 29.7 kB / 356.9 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.01237, allocations: 318.9 kB / 357.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.01241, allocations: 51.58 kB / 357.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.01247, allocations: 39.34 kB / 357.3 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.01261, allocations: 0.5586 MB / 357.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.01266, allocations: 15.98 kB / 357.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.342e-05/0.01273, allocations: 49.52 kB / 357.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.01286, allocations: 67.44 kB / 358 MB, free: 15.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01286, allocations: 0 / 358 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002675/0.01313, allocations: 153.3 kB / 358.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.01314, allocations: 7.938 kB / 358.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01315, allocations: 3.938 kB / 358.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.01316, allocations: 0 / 358.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.01327, allocations: 35.97 kB / 358.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.01327, allocations: 0.75 kB / 358.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.01332, allocations: 12 kB / 358.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.01333, allocations: 7.984 kB / 358.2 MB, free: 15.61 MB / 298.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.815e-05/0.01342, allocations: 164.7 kB / 358.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.01349, allocations: 55.67 kB / 358.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.01371, allocations: 181.9 kB / 358.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01371, allocations: 4 kB / 358.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01372, allocations: 0 / 358.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01372, allocations: 0 / 358.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.01422, allocations: 0.6258 MB / 359.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.01422, allocations: 0 / 359.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.734e-05/0.0143, allocations: 39.97 kB / 359.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.0143, allocations: 0 / 359.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.01431, allocations: 4 kB / 359.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01431, allocations: 0 / 359.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01431, allocations: 3.938 kB / 359.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.01452, allocations: 430.6 kB / 359.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.01456, allocations: 47.66 kB / 359.7 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01459, allocations: 8 kB / 359.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.01466, allocations: 7.984 kB / 359.7 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.0147, allocations: 19.97 kB / 359.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01471, allocations: 3.984 kB / 359.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002302/0.01494, allocations: 382.7 kB / 360.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01494, allocations: 0 / 360.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.01515, allocations: 52 kB / 360.2 MB, free: 13.54 MB / 298.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.0007287/0.01588, allocations: 380.3 kB / 360.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.01603, allocations: 75.56 kB / 360.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01603, allocations: 3.938 kB / 360.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.01608, allocations: 51.53 kB / 360.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.01648, allocations: 83.92 kB / 360.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008279/0.01731, allocations: 0.7412 MB / 361.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.111e-05/0.01739, allocations: 136.5 kB / 361.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.202e-05/0.01748, allocations: 54.92 kB / 361.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.01761, allocations: 138.2 kB / 361.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01761, allocations: 0 / 361.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of Templates: time 0.006137/0.02375, allocations: 4.502 MB / 366.3 MB, free: 7.434 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.405037339311093]