Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 111.3 kB / 18.45 MB, free: 4.621 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.001164/0.001164, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.219/1.219, allocations: 222.9 MB / 243.1 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.1942/0.1942, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 64.14 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2918, allocations: 60.82 MB / 0.5196 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.002458/0.2943, allocations: 1.583 MB / 0.5211 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006107/0.295, allocations: 413.8 kB / 0.5215 GB, free: 2.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.108e-05/0.295, allocations: 5.062 kB / 0.5215 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.2953, allocations: 69.3 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001848/0.2955, allocations: 63.55 kB / 0.5217 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.2957, allocations: 87.88 kB / 0.5217 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2959, allocations: 74.95 kB / 0.5218 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.296, allocations: 14.17 kB / 0.5218 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.615e-05/0.296, allocations: 41.31 kB / 0.5219 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.2961, allocations: 58.31 kB / 0.5219 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2962, allocations: 2.969 kB / 0.5219 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.2962, allocations: 43.45 kB / 0.522 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.2963, allocations: 18.52 kB / 0.522 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.2963, allocations: 26.03 kB / 0.522 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.2965, allocations: 100 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2965, allocations: 0.8438 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2965, allocations: 0 / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2965, allocations: 5.031 kB / 0.5221 GB, free: 2.023 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.0003473/0.2969, allocations: 408 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.2969, allocations: 10.59 kB / 0.5225 GB, free: 1.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.297, allocations: 9.562 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2971, allocations: 198 kB / 0.5227 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.2971, allocations: 5.969 kB / 0.5227 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.2971, allocations: 1.625 kB / 0.5227 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.2973, allocations: 60.7 kB / 0.5228 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2973, allocations: 0.7812 kB / 0.5228 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.2973, allocations: 5.094 kB / 0.5228 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.2973, allocations: 3.938 kB / 0.5228 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.2974, allocations: 34.06 kB / 0.5228 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002945/0.2977, allocations: 289.2 kB / 0.5231 GB, free: 1.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.2978, allocations: 43.02 kB / 0.5231 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.551e-05/0.2979, allocations: 18.94 kB / 0.5231 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.2979, allocations: 1.75 kB / 0.5231 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.2979, allocations: 40.45 kB / 0.5232 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2979, allocations: 0 / 0.5232 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007751/0.2987, allocations: 218.2 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.2987, allocations: 52.95 kB / 0.5234 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2989, allocations: 209.7 kB / 0.5236 GB, free: 0.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.2989, allocations: 31.02 kB / 0.5237 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.2989, allocations: 108.1 kB / 0.5238 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.226e-05/0.299, allocations: 21.75 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.299, allocations: 20.53 kB / 0.5238 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.2991, allocations: 330.8 kB / 0.5241 GB, free: 176 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.2991, allocations: 20.98 kB / 0.5242 GB, free: 172 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.392e-05/0.2992, allocations: 23.78 kB / 0.5242 GB, free: 168 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.2993, allocations: 58.61 kB / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2994, allocations: 0 / 0.5242 GB, free: 144 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001834/0.2995, allocations: 110.3 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2996, allocations: 8.75 kB / 0.5243 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2996, allocations: 1.344 kB / 0.5243 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2996, allocations: 0 / 0.5243 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-05/0.2997, allocations: 17.64 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2997, allocations: 5.094 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.2997, allocations: 8.125 kB / 0.5244 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.2998, allocations: 3.562 kB / 0.5244 GB, free: 68 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.512e-05/0.2999, allocations: 122 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.431e-05/0.2999, allocations: 12.5 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3001, allocations: 127.9 kB / 0.5246 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3002, allocations: 0 / 0.5246 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3002, allocations: 5.469 kB / 0.5246 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3002, allocations: 0.75 kB / 0.5246 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.3006, allocations: 403.4 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3007, allocations: 4.031 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.88e-05/0.3007, allocations: 21.33 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3007, allocations: 1.438 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.3008, allocations: 2.094 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3008, allocations: 5.281 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3008, allocations: 0.5625 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.301, allocations: 202.4 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.3011, allocations: 93.12 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3011, allocations: 2.016 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.3011, allocations: 5.578 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.3012, allocations: 4.438 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3012, allocations: 11.55 kB / 0.5254 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.3013, allocations: 152.6 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3013, allocations: 0 / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.3016, allocations: 23.02 kB / 0.5255 GB, free: 15.12 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.0009505/0.3025, allocations: 455.5 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3028, allocations: 63.73 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3028, allocations: 0 / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.3029, allocations: 34.73 kB / 0.5261 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.3032, allocations: 26.19 kB / 0.5261 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004043/0.3036, allocations: 274.2 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.3038, allocations: 0.7151 MB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.3039, allocations: 18.2 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3039, allocations: 0 / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.003207/0.3071, allocations: 1.708 MB / 0.5287 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches