Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, 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.001357/0.001357, 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.254/1.254, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.188/0.188, allocations: 44.19 MB / 336.7 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 63.89 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2995, allocations: 60.83 MB / 0.5189 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002453/0.302, allocations: 1.577 MB / 0.5205 GB, free: 2.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006158/0.3027, allocations: 411.7 kB / 0.5209 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.3027, allocations: 4.969 kB / 0.5209 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.3031, allocations: 124.1 kB / 0.521 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.3033, allocations: 89.19 kB / 0.5211 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.3036, allocations: 109.1 kB / 0.5212 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.3038, allocations: 89.77 kB / 0.5213 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3039, allocations: 20.22 kB / 0.5213 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.137e-05/0.304, allocations: 48.48 kB / 0.5213 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.3041, allocations: 79.58 kB / 0.5214 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.3041, allocations: 3.312 kB / 0.5214 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.009e-05/0.3042, allocations: 43.23 kB / 0.5215 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.3043, allocations: 24.34 kB / 0.5215 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.911e-05/0.3043, allocations: 42.02 kB / 0.5215 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3045, allocations: 112.7 kB / 0.5216 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3045, allocations: 1.125 kB / 0.5216 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3045, allocations: 0.7031 kB / 0.5216 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3045, allocations: 0 / 0.5216 GB, free: 2.004 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.0003802/0.3049, allocations: 432.8 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.305, allocations: 9.281 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.305, allocations: 11.34 kB / 0.5221 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3052, allocations: 201.2 kB / 0.5222 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3052, allocations: 9.781 kB / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3052, allocations: 2.5 kB / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.3053, allocations: 61.33 kB / 0.5223 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3054, allocations: 4.656 kB / 0.5223 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3054, allocations: 1 kB / 0.5223 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3054, allocations: 1.094 kB / 0.5223 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.29e-05/0.3055, allocations: 25.59 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.3058, allocations: 310.4 kB / 0.5226 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.487e-05/0.3059, allocations: 50.44 kB / 0.5227 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.306, allocations: 22.5 kB / 0.5227 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.306, allocations: 2.234 kB / 0.5227 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.306, allocations: 31.27 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.306, allocations: 0 / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008481/0.3069, allocations: 248.5 kB / 0.523 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.3069, allocations: 53.34 kB / 0.523 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.3072, allocations: 275.8 kB / 0.5233 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.697e-06/0.3072, allocations: 27.48 kB / 0.5233 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.3072, allocations: 119.3 kB / 0.5234 GB, free: 472 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.3073, allocations: 28.64 kB / 0.5235 GB, free: 448 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.3073, allocations: 25.09 kB / 0.5235 GB, free: 424 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.3073, allocations: 325 kB / 0.5238 GB, free: 100 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.3074, allocations: 34.61 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.783e-05/0.3075, allocations: 30.38 kB / 0.5239 GB, free: 80 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3077, allocations: 76.84 kB / 0.5239 GB, free: 48 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3077, allocations: 0 / 0.5239 GB, free: 48 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000218/0.3079, allocations: 110.1 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.3079, allocations: 4.469 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.3079, allocations: 1.781 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3079, allocations: 432 / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.308, allocations: 21.67 kB / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3081, allocations: 4.781 kB / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.3081, allocations: 8.781 kB / 0.5241 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.3081, allocations: 2.562 kB / 0.5241 GB, free: 15.98 MB / 398.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 8.993e-05/0.3082, allocations: 134 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.3082, allocations: 18.62 kB / 0.5242 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.3085, allocations: 134.3 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3085, allocations: 0.6562 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.3085, allocations: 5.75 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3086, allocations: 0.6094 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.3091, allocations: 427.2 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3091, allocations: 3.938 kB / 0.5248 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.3092, allocations: 21.14 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3092, allocations: 0.875 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.3092, allocations: 1.812 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3092, allocations: 1.344 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3092, allocations: 1.25 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.3095, allocations: 227.3 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.3095, allocations: 92.14 kB / 0.5251 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.3096, allocations: 2.922 kB / 0.5251 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.3097, allocations: 8.578 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.3097, allocations: 13.73 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.3097, allocations: 2.844 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002022/0.3099, allocations: 205.2 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3099, allocations: 0 / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3102, allocations: 24.31 kB / 0.5253 GB, free: 14.99 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.0009857/0.3112, allocations: 463 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3114, allocations: 75.72 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3114, allocations: 0 / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.3115, allocations: 37.95 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.3118, allocations: 20.98 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.3123, allocations: 307 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3126, allocations: 0.7181 MB / 0.5269 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.73e-05/0.3127, allocations: 25.84 kB / 0.5269 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.3127, allocations: 13.83 kB / 0.527 GB, free: 13.82 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3127, allocations: 0 / 0.527 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Templates: time 0.003886/0.3166, allocations: 1.4 MB / 0.5283 GB, free: 13.32 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches