Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 112.8 kB / 17.78 MB, free: 5.281 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: 180.9 kB / 18.71 MB, free: 4.363 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.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.1875/0.1875, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 64.14 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.301, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002334/0.3034, allocations: 1.583 MB / 0.5205 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006564/0.3041, allocations: 407.2 kB / 0.5209 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.3041, allocations: 1.031 kB / 0.5209 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.3044, allocations: 123.7 kB / 0.521 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.3047, allocations: 90.78 kB / 0.5211 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3049, allocations: 76.92 kB / 0.5211 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.305, allocations: 90.28 kB / 0.5212 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.3051, allocations: 22.41 kB / 0.5213 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.3052, allocations: 48.14 kB / 0.5213 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3053, allocations: 79.09 kB / 0.5214 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3054, allocations: 3.094 kB / 0.5214 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.341e-05/0.3055, allocations: 48.41 kB / 0.5214 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.3055, allocations: 23.12 kB / 0.5214 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.3055, allocations: 35.75 kB / 0.5215 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.3057, allocations: 122.9 kB / 0.5216 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3057, allocations: 0.6094 kB / 0.5216 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.3057, allocations: 5 kB / 0.5216 GB, free: 2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3058, allocations: 0 / 0.5216 GB, free: 2 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.0003592/0.3061, allocations: 431.8 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.3062, allocations: 8.906 kB / 0.522 GB, free: 1.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.3062, allocations: 14.5 kB / 0.522 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.3063, allocations: 205.1 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.3064, allocations: 1.406 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.3064, allocations: 2.594 kB / 0.5222 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3065, allocations: 60.8 kB / 0.5223 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3065, allocations: 5.688 kB / 0.5223 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3065, allocations: 0 / 0.5223 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3065, allocations: 1.062 kB / 0.5223 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.105e-05/0.3066, allocations: 28.88 kB / 0.5223 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.3069, allocations: 304.1 kB / 0.5226 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.863e-05/0.307, allocations: 47.02 kB / 0.5227 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.169e-05/0.3071, allocations: 17.66 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3071, allocations: 2.312 kB / 0.5227 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.3071, allocations: 31.91 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3071, allocations: 0 / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007888/0.3079, allocations: 232.6 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.3079, allocations: 52.72 kB / 0.523 GB, free: 0.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.3082, allocations: 273.5 kB / 0.5232 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.3082, allocations: 31.17 kB / 0.5233 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.3082, allocations: 107.1 kB / 0.5234 GB, free: 480 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.3083, allocations: 29.14 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.3083, allocations: 29 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.417e-05/0.3084, allocations: 327.9 kB / 0.5237 GB, free: 100 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.727e-05/0.3084, allocations: 22.47 kB / 0.5238 GB, free: 96 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.3085, allocations: 26.89 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.3086, allocations: 62.95 kB / 0.5239 GB, free: 60 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3087, allocations: 0 / 0.5239 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000189/0.3089, allocations: 107 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3089, allocations: 5.625 kB / 0.524 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3089, allocations: 0.6719 kB / 0.524 GB, free: 16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3089, allocations: 5.062 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.772e-05/0.309, allocations: 17.06 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.309, allocations: 3.938 kB / 0.524 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.816e-05/0.3091, allocations: 9.328 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3091, allocations: 6.844 kB / 0.524 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 0.0001109/0.3092, allocations: 136.9 kB / 0.5241 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.3093, allocations: 15.66 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.3095, allocations: 117.1 kB / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3096, allocations: 9.953 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3096, allocations: 4.453 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3096, allocations: 4.641 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.3101, allocations: 414.6 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3101, allocations: 0 / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.3102, allocations: 25.64 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3102, allocations: 0.7031 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.3102, allocations: 5.344 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3102, allocations: 1.281 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3102, allocations: 1.484 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.3105, allocations: 204.9 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.3105, allocations: 93.12 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.3106, allocations: 0.5625 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/0.3106, allocations: 5.422 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.3107, allocations: 14.08 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.3107, allocations: 2.484 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.3109, allocations: 205.7 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3109, allocations: 4 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000244/0.3111, allocations: 20.77 kB / 0.5252 GB, free: 15 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.0009675/0.3121, allocations: 457.7 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.3123, allocations: 72.55 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3123, allocations: 0 / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.3124, allocations: 35.48 kB / 0.5258 GB, free: 14.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.3128, allocations: 23.08 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.3133, allocations: 297.2 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.3136, allocations: 0.716 MB / 0.5268 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.351e-05/0.3137, allocations: 13.59 kB / 0.5268 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.106e-05/0.3137, allocations: 13.41 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3137, allocations: 1.438 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.003605/0.3173, allocations: 1.362 MB / 0.5281 GB, free: 13.38 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches