Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001418/0.001418, allocations: 181 kB / 18.71 MB, free: 4.207 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.332/1.332, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.1908/0.1908, allocations: 44.19 MB / 336.8 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3074, allocations: 60.83 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002845/0.3103, allocations: 1.584 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007259/0.311, allocations: 411.1 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.3111, allocations: 1.031 kB / 0.5209 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.3115, allocations: 72.28 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.3117, allocations: 66.08 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.3121, allocations: 103 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3123, allocations: 75.55 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3124, allocations: 23.75 kB / 0.5212 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.3125, allocations: 31.83 kB / 0.5212 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3126, allocations: 48.31 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.3126, allocations: 3.062 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3127, allocations: 42.88 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.3128, allocations: 18.3 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.3128, allocations: 30.75 kB / 0.5214 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.3131, allocations: 106.8 kB / 0.5215 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3131, allocations: 0 / 0.5215 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3131, allocations: 4 kB / 0.5215 GB, free: 1.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3131, allocations: 1.797 kB / 0.5215 GB, free: 1.965 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003683/0.3135, allocations: 397.2 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.3135, allocations: 9.156 kB / 0.5219 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.3135, allocations: 14.83 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3137, allocations: 192.3 kB / 0.5221 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3137, allocations: 2.531 kB / 0.5221 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.3137, allocations: 10.66 kB / 0.5221 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3139, allocations: 61.45 kB / 0.5221 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3139, allocations: 0 / 0.5221 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3139, allocations: 5.969 kB / 0.5221 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3139, allocations: 0 / 0.5221 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.314, allocations: 25.84 kB / 0.5222 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.3143, allocations: 295.8 kB / 0.5224 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.959e-05/0.3145, allocations: 52.45 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.3145, allocations: 15.66 kB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.3145, allocations: 1.703 kB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.3146, allocations: 36.19 kB / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3146, allocations: 0 / 0.5225 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008487/0.3154, allocations: 234 kB / 0.5228 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.3155, allocations: 53.12 kB / 0.5228 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3156, allocations: 196.5 kB / 0.523 GB, free: 0.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.3156, allocations: 25.7 kB / 0.523 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.712e-05/0.3157, allocations: 100.2 kB / 0.5231 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.3157, allocations: 29.69 kB / 0.5232 GB, free: 488 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.3157, allocations: 32.34 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.493e-05/0.3158, allocations: 326.4 kB / 0.5235 GB, free: 128 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.3159, allocations: 25.52 kB / 0.5235 GB, free: 124 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.316, allocations: 35.81 kB / 0.5236 GB, free: 112 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3161, allocations: 71.55 kB / 0.5236 GB, free: 84 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3161, allocations: 0.9375 kB / 0.5236 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001992/0.3163, allocations: 108 kB / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3163, allocations: 6.781 kB / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3164, allocations: 0 / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3164, allocations: 0 / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.3165, allocations: 21.86 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3165, allocations: 7.875 kB / 0.5238 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.3165, allocations: 8.859 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3165, allocations: 2.844 kB / 0.5238 GB, free: 12 kB / 382.1 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 (8): * Single equations (assignments): 8 * 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 9.752e-05/0.3166, allocations: 134.8 kB / 0.5239 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.3167, allocations: 12.89 kB / 0.5239 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.317, allocations: 131.1 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.317, allocations: 5.094 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.317, allocations: 3.938 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.317, allocations: 0.6562 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.3175, allocations: 419 kB / 0.5244 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3175, allocations: 1.031 kB / 0.5244 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.3176, allocations: 24.44 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3176, allocations: 2.031 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3176, allocations: 1.031 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3176, allocations: 1.25 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3176, allocations: 1.766 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.3179, allocations: 213.7 kB / 0.5247 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.318, allocations: 88.52 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.318, allocations: 6.688 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.3181, allocations: 7.125 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3181, allocations: 6.391 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.3181, allocations: 2.219 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.3182, allocations: 148.4 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3182, allocations: 4 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.3185, allocations: 23.83 kB / 0.525 GB, free: 15.05 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 (8): * Single equations (assignments): 8 * 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.0009811/0.3195, allocations: 457.6 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3197, allocations: 77.19 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3197, allocations: 4 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.3198, allocations: 33.64 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.3201, allocations: 34.31 kB / 0.5255 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.3206, allocations: 243.6 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3208, allocations: 0.7069 MB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.283e-05/0.3209, allocations: 21.27 kB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.321, allocations: 13.73 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.321, allocations: 0 / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Templates: time 0.003841/0.3248, allocations: 1.375 MB / 0.5278 GB, free: 13.47 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches