Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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.001469/0.001469, 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.001394/0.001394, 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 0.9986/0.9986, 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.2757/0.2757, allocations: 32.81 MB / 294.6 MB, free: 1.23 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.338e-05, allocations: 2.312 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002617/0.00264, allocations: 2.109 MB / 378.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.00445, allocations: 1.371 MB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.004643, allocations: 3.938 kB / 379.5 MB, free: 1.465 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.004939, allocations: 55.45 kB / 379.5 MB, free: 1.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.005515, allocations: 226.9 kB / 379.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.006789, allocations: 0.6041 MB / 380.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.00735, allocations: 362.8 kB / 380.7 MB, free: 232 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.007544, allocations: 56.88 kB / 380.8 MB, free: 176 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.007927, allocations: 187.4 kB / 381 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.008452, allocations: 187.5 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.008494, allocations: 20 kB / 381.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.008659, allocations: 71.84 kB / 381.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.008816, allocations: 147.5 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.008922, allocations: 95.56 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.009407, allocations: 334.6 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.009411, allocations: 0 / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.009413, allocations: 0 / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.009423, allocations: 4 kB / 381.8 MB, free: 15.14 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.001046/0.01047, allocations: 0.8483 MB / 382.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.01051, allocations: 8.031 kB / 382.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.01089, allocations: 108.5 kB / 382.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.01141, allocations: 377.3 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.01143, allocations: 4.375 kB / 383.1 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.274e-05/0.01147, allocations: 8.375 kB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.01177, allocations: 141.2 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.01179, allocations: 3.938 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.01181, allocations: 8 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.01182, allocations: 4 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.01192, allocations: 43.89 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.01263, allocations: 0.6935 MB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.01278, allocations: 94.22 kB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.01283, allocations: 35.48 kB / 384.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.01286, allocations: 7.938 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.01288, allocations: 33.39 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.01288, allocations: 4 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.00118/0.01406, allocations: 0.5074 MB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.01412, allocations: 81.11 kB / 384.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.01468, allocations: 0.6871 MB / 385.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.0147, allocations: 29.7 kB / 385.5 MB, free: 11.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.01487, allocations: 335.1 kB / 385.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.01493, allocations: 67.44 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.01498, allocations: 39.36 kB / 385.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.01516, allocations: 0.5625 MB / 386.5 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.779e-05/0.01522, allocations: 27.98 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.0153, allocations: 61.69 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.01545, allocations: 95.47 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01545, allocations: 4 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002675/0.01572, allocations: 197 kB / 386.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.01573, allocations: 4 kB / 386.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01574, allocations: 0 / 386.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.01576, allocations: 4 kB / 386.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.01595, allocations: 51.89 kB / 386.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.01596, allocations: 4 kB / 386.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.366e-05/0.01604, allocations: 15.98 kB / 387 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.01606, allocations: 4 kB / 387 MB, free: 9.719 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 (20): * Single equations (assignments): 20 * 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.0001114/0.01617, allocations: 164.6 kB / 387.1 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.01625, allocations: 71.52 kB / 387.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003389/0.01659, allocations: 222.4 kB / 387.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.01659, allocations: 4 kB / 387.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.0166, allocations: 0 / 387.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.0166, allocations: 3.984 kB / 387.4 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.01765, allocations: 0.7932 MB / 388.2 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.01766, allocations: 4.375 kB / 388.2 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.01778, allocations: 47.89 kB / 388.3 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.01778, allocations: 8 kB / 388.3 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.0178, allocations: 4 kB / 388.3 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.0178, allocations: 4 kB / 388.3 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01781, allocations: 3.984 kB / 388.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.01813, allocations: 466.5 kB / 388.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.0182, allocations: 59.61 kB / 388.8 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.01823, allocations: 11.98 kB / 388.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.01833, allocations: 8 kB / 388.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.01839, allocations: 23.95 kB / 388.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01841, allocations: 8 kB / 388.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003383/0.01874, allocations: 463 kB / 389.3 MB, free: 7.305 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.01874, allocations: 0 / 389.3 MB, free: 7.305 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.01902, allocations: 63.94 kB / 389.4 MB, free: 7.242 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 (20): * Single equations (assignments): 20 * 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.0009022/0.01992, allocations: 400.8 kB / 389.8 MB, free: 6.988 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000255/0.02017, allocations: 113.6 kB / 389.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.02017, allocations: 0 / 389.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.02026, allocations: 59.59 kB / 389.9 MB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.02068, allocations: 88.75 kB / 390 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.02184, allocations: 0.8318 MB / 390.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.753e-05/0.02194, allocations: 148.5 kB / 391 MB, free: 5.695 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.02209, allocations: 75.19 kB / 391.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.02218, allocations: 44.48 kB / 391.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of SimCode: time 1.623e-06/0.02218, allocations: 0 / 391.1 MB, free: 5.574 MB / 362.7 MB Notification: Performance of Templates: time 0.007516/0.02969, allocations: 4.672 MB / 395.8 MB, free: 0.9453 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.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.391365000978112]