Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 114.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000937/0.000937, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1905/0.1905, allocations: 44.18 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2888, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003134/0.2919, allocations: 1.967 MB / 0.5208 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2935, allocations: 1.031 MB / 0.5218 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.2936, allocations: 3.375 kB / 0.5218 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.2938, allocations: 46.73 kB / 0.5219 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000343/0.2942, allocations: 144.9 kB / 0.522 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000925/0.2951, allocations: 416.4 kB / 0.5224 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.2956, allocations: 251.8 kB / 0.5227 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.2958, allocations: 66.78 kB / 0.5227 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.296, allocations: 122.6 kB / 0.5228 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.2963, allocations: 173.6 kB / 0.523 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.2964, allocations: 12.44 kB / 0.523 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.2966, allocations: 60.36 kB / 0.5231 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.2967, allocations: 136.4 kB / 0.5232 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.2969, allocations: 157.1 kB / 0.5234 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004723/0.2973, allocations: 359.7 kB / 0.5237 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2974, allocations: 5.125 kB / 0.5237 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2974, allocations: 0 / 0.5237 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2974, allocations: 0 / 0.5237 GB, free: 0.6758 MB / 382.1 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.0009628/0.2983, allocations: 0.7308 MB / 0.5244 GB, free: 80 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2984, allocations: 10.53 kB / 0.5244 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.516e-05/0.2985, allocations: 54 kB / 0.5245 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005897/0.2991, allocations: 437.5 kB / 0.5249 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.2991, allocations: 8.906 kB / 0.5249 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.2992, allocations: 19.12 kB / 0.5249 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.2994, allocations: 128.6 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2994, allocations: 1.938 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2995, allocations: 0 / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2995, allocations: 2.75 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.2997, allocations: 84.11 kB / 0.5251 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008944/0.3006, allocations: 0.6548 MB / 0.5258 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.3008, allocations: 110.7 kB / 0.5259 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.127e-05/0.3009, allocations: 41.86 kB / 0.5259 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3009, allocations: 3.5 kB / 0.5259 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.3009, allocations: 39.88 kB / 0.526 GB, free: 15.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.3009, allocations: 0 / 0.526 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001289/0.3022, allocations: 0.4923 MB / 0.5264 GB, free: 14.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.3023, allocations: 78.42 kB / 0.5265 GB, free: 14.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008585/0.3032, allocations: 0.8459 MB / 0.5273 GB, free: 14.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.3032, allocations: 30.73 kB / 0.5274 GB, free: 14.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.3034, allocations: 245.5 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.3034, allocations: 57.84 kB / 0.5277 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/0.3035, allocations: 33.95 kB / 0.5277 GB, free: 13.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3037, allocations: 366.8 kB / 0.528 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3038, allocations: 50.75 kB / 0.5281 GB, free: 13.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.304, allocations: 73.98 kB / 0.5282 GB, free: 13.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002946/0.3043, allocations: 145.8 kB / 0.5283 GB, free: 13.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3043, allocations: 0 / 0.5283 GB, free: 13.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000413/0.3047, allocations: 219.6 kB / 0.5285 GB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3047, allocations: 9.359 kB / 0.5285 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3048, allocations: 5.062 kB / 0.5285 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3048, allocations: 1 kB / 0.5285 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.305, allocations: 40.66 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.305, allocations: 1.156 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.3051, allocations: 14.58 kB / 0.5286 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.3051, allocations: 4.906 kB / 0.5286 GB, free: 13.34 MB / 398.1 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 0.0001839/0.3053, allocations: 215.5 kB / 0.5288 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.3054, allocations: 54.5 kB / 0.5288 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.306, allocations: 261.1 kB / 0.5291 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.306, allocations: 6.859 kB / 0.5291 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.306, allocations: 1.156 kB / 0.5291 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.306, allocations: 3.938 kB / 0.5291 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3071, allocations: 0.754 MB / 0.5298 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3071, allocations: 1.25 kB / 0.5298 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.3072, allocations: 43.53 kB / 0.5299 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3072, allocations: 0.9375 kB / 0.5299 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3073, allocations: 2.031 kB / 0.5299 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.3073, allocations: 10.17 kB / 0.5299 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3073, allocations: 4 kB / 0.5299 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.3078, allocations: 390.9 kB / 0.5303 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.308, allocations: 131.2 kB / 0.5304 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.308, allocations: 6.125 kB / 0.5304 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.3082, allocations: 13.91 kB / 0.5304 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.3083, allocations: 18.41 kB / 0.5304 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3083, allocations: 8.531 kB / 0.5304 GB, free: 11.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006755/0.309, allocations: 0.6218 MB / 0.531 GB, free: 11.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.309, allocations: 0 / 0.531 GB, free: 11.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.3093, allocations: 51.14 kB / 0.5311 GB, free: 11.61 MB / 398.1 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.0009376/0.3103, allocations: 396.2 kB / 0.5315 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003895/0.3107, allocations: 149.8 kB / 0.5316 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3107, allocations: 1.625 kB / 0.5316 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.3109, allocations: 77.89 kB / 0.5317 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005495/0.3114, allocations: 76.77 kB / 0.5318 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3126, allocations: 0.8632 MB / 0.5326 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.313, allocations: 0.851 MB / 0.5334 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.3132, allocations: 81.25 kB / 0.5335 GB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.805e-05/0.3133, allocations: 38.17 kB / 0.5335 GB, free: 9.977 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3133, allocations: 0 / 0.5335 GB, free: 9.977 MB / 398.1 MB Notification: Performance of Templates: time 0.008482/0.3218, allocations: 4.052 MB / 0.5375 GB, free: 7.984 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches