Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 112.9 kB / 18.45 MB, free: 4.598 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.00114/0.00114, allocations: 183 kB / 19.39 MB, free: 3.672 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.269/1.269, allocations: 222.9 MB / 243.1 MB, free: 15.04 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.1931/0.1931, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.84 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2902, allocations: 60.82 MB / 0.5196 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.00243/0.2927, allocations: 1.592 MB / 0.5212 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005908/0.2933, allocations: 415 kB / 0.5215 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.445e-05/0.2933, allocations: 9.031 kB / 0.5216 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.2935, allocations: 101.1 kB / 0.5217 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.2937, allocations: 78.91 kB / 0.5217 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.2939, allocations: 107.7 kB / 0.5218 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.294, allocations: 80.03 kB / 0.5219 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.654e-05/0.2941, allocations: 19.16 kB / 0.5219 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.527e-05/0.2941, allocations: 42.3 kB / 0.522 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.701e-05/0.2942, allocations: 62.67 kB / 0.522 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2942, allocations: 6.062 kB / 0.522 GB, free: 2.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.997e-05/0.2943, allocations: 47.5 kB / 0.5221 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.2944, allocations: 22 kB / 0.5221 GB, free: 2.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.2944, allocations: 31.33 kB / 0.5221 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.2945, allocations: 118.2 kB / 0.5222 GB, free: 2.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.2946, allocations: 0 / 0.5222 GB, free: 2.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.2946, allocations: 0 / 0.5222 GB, free: 2.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.725e-06/0.2946, allocations: 1.219 kB / 0.5222 GB, free: 2.23 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.0002595/0.2948, allocations: 425.6 kB / 0.5226 GB, free: 1.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.316e-05/0.2949, allocations: 9.359 kB / 0.5227 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.2949, allocations: 10.8 kB / 0.5227 GB, free: 1.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.295, allocations: 208.1 kB / 0.5229 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-06/0.295, allocations: 2.219 kB / 0.5229 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.295, allocations: 2.469 kB / 0.5229 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.385e-05/0.2951, allocations: 61.09 kB / 0.5229 GB, free: 1.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.2951, allocations: 5.438 kB / 0.5229 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.2951, allocations: 0 / 0.5229 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-06/0.2952, allocations: 1.5 kB / 0.5229 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.2952, allocations: 29.23 kB / 0.523 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.2955, allocations: 304.1 kB / 0.5233 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.657e-05/0.2956, allocations: 53.7 kB / 0.5233 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.2956, allocations: 23.81 kB / 0.5233 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.2956, allocations: 5.5 kB / 0.5233 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.2957, allocations: 31.12 kB / 0.5234 GB, free: 1.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2957, allocations: 0 / 0.5234 GB, free: 1.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006891/0.2964, allocations: 249 kB / 0.5236 GB, free: 1.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.093e-05/0.2964, allocations: 56.44 kB / 0.5237 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.2966, allocations: 239.2 kB / 0.5239 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.2966, allocations: 29.7 kB / 0.5239 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.2966, allocations: 110.6 kB / 0.524 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.2966, allocations: 33.19 kB / 0.524 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.2967, allocations: 21.94 kB / 0.5241 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.2967, allocations: 324 kB / 0.5244 GB, free: 336 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.2968, allocations: 28.66 kB / 0.5244 GB, free: 328 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.2969, allocations: 32.31 kB / 0.5244 GB, free: 320 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.297, allocations: 76.23 kB / 0.5245 GB, free: 288 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.297, allocations: 4 kB / 0.5245 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001838/0.2972, allocations: 113.5 kB / 0.5246 GB, free: 224 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.719e-06/0.2972, allocations: 5 kB / 0.5246 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.2972, allocations: 0.5156 kB / 0.5246 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.2973, allocations: 1.531 kB / 0.5246 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.2973, allocations: 16.36 kB / 0.5246 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2974, allocations: 2.812 kB / 0.5246 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.726e-05/0.2974, allocations: 7.062 kB / 0.5246 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.2974, allocations: 11.47 kB / 0.5247 GB, free: 212 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 5.739e-05/0.2975, allocations: 131 kB / 0.5248 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.2975, allocations: 14.73 kB / 0.5248 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.2977, allocations: 128.4 kB / 0.5249 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2978, allocations: 0.7031 kB / 0.5249 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2978, allocations: 1.156 kB / 0.5249 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.2978, allocations: 92.09 kB / 0.525 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.2978, allocations: 1.156 kB / 0.525 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.2979, allocations: 9.719 kB / 0.525 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.298, allocations: 13.06 kB / 0.525 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002496/0.2982, allocations: 191.8 kB / 0.5252 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002765/0.2985, allocations: 289.8 kB / 0.5255 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.368e-05/0.2986, allocations: 39.19 kB / 0.5255 GB, free: 15.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.2987, allocations: 184.5 kB / 0.5257 GB, free: 15.41 MB / 398.1 MB Notification: Performance of Backend: time 2.01e-07/0.2987, allocations: 0 / 0.5257 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.3, allocations: 0.5063 MB / 0.5262 GB, free: 15.19 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005359/0.3005, allocations: 0.6864 MB / 0.5269 GB, free: 14.55 MB / 398.1 MB Notification: Performance of Templates: time 0.003471/0.304, allocations: 1.55 MB / 0.5284 GB, free: 14.01 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches