Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 110.5 kB / 18.46 MB, free: 4.57 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.001355/0.001355, allocations: 187.2 kB / 19.39 MB, free: 3.648 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.267/1.267, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.191/0.191, allocations: 44.19 MB / 337.4 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2956, allocations: 60.82 MB / 0.5197 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003537/0.2992, allocations: 1.759 MB / 0.5214 GB, free: 2.398 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3009, allocations: 0.8733 MB / 0.5222 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.776e-05/0.301, allocations: 9.25 kB / 0.5222 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.3014, allocations: 102 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.3017, allocations: 93.81 kB / 0.5224 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.3021, allocations: 114.3 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.3023, allocations: 127.9 kB / 0.5227 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3025, allocations: 15.81 kB / 0.5227 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3026, allocations: 65.81 kB / 0.5227 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.3028, allocations: 67.11 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.3028, allocations: 5.812 kB / 0.5228 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.303, allocations: 59.81 kB / 0.5229 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.639e-05/0.3031, allocations: 40.89 kB / 0.5229 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.3032, allocations: 52.5 kB / 0.523 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.3035, allocations: 154.8 kB / 0.5231 GB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3035, allocations: 2.219 kB / 0.5231 GB, free: 1.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3035, allocations: 0 / 0.5231 GB, free: 1.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3035, allocations: 0 / 0.5231 GB, free: 1.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005761/0.3041, allocations: 461.6 kB / 0.5236 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.3041, allocations: 9.469 kB / 0.5236 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.3042, allocations: 15.28 kB / 0.5236 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.3045, allocations: 226.8 kB / 0.5238 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3045, allocations: 2.688 kB / 0.5238 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.3046, allocations: 8.359 kB / 0.5238 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.3048, allocations: 74.2 kB / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.3048, allocations: 0 / 0.5239 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.3049, allocations: 5.875 kB / 0.5239 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3049, allocations: 1.125 kB / 0.5239 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.305, allocations: 36.22 kB / 0.5239 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.3055, allocations: 339.5 kB / 0.5242 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.3058, allocations: 71.27 kB / 0.5243 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.3059, allocations: 29.39 kB / 0.5243 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.306, allocations: 1.859 kB / 0.5243 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.3062, allocations: 79.66 kB / 0.5244 GB, free: 268 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.3062, allocations: 4 kB / 0.5244 GB, free: 264 kB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001141/0.3073, allocations: 300.7 kB / 0.5247 GB, free: 128 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.3074, allocations: 53.78 kB / 0.5248 GB, free: 64 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003472/0.3077, allocations: 245 kB / 0.525 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.3078, allocations: 32.09 kB / 0.525 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.3079, allocations: 118.8 kB / 0.5251 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.308, allocations: 51.16 kB / 0.5252 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.3081, allocations: 35.55 kB / 0.5252 GB, free: 15.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3082, allocations: 329.2 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.3084, allocations: 40.34 kB / 0.5256 GB, free: 15.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3085, allocations: 55.19 kB / 0.5256 GB, free: 15.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.3088, allocations: 106.6 kB / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3088, allocations: 0 / 0.5257 GB, free: 15.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003805/0.3092, allocations: 162.5 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3092, allocations: 5.5 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3092, allocations: 0 / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3092, allocations: 2.219 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3094, allocations: 37.45 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3094, allocations: 5.312 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.961e-05/0.3095, allocations: 3.266 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3095, allocations: 4.969 kB / 0.5259 GB, free: 15.19 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001598/0.3097, allocations: 145 kB / 0.5261 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.3097, allocations: 16.81 kB / 0.5261 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.3098, allocations: 24.36 kB / 0.5261 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.3098, allocations: 4.688 kB / 0.5261 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3098, allocations: 5.375 kB / 0.5261 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.3099, allocations: 90.36 kB / 0.5262 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.3099, allocations: 2.078 kB / 0.5262 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.31, allocations: 5.938 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.3101, allocations: 13.09 kB / 0.5262 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004027/0.3105, allocations: 231 kB / 0.5264 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004461/0.311, allocations: 327.3 kB / 0.5268 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001299/0.3111, allocations: 54.48 kB / 0.5268 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.3113, allocations: 185.1 kB / 0.527 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3113, allocations: 0 / 0.527 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.3138, allocations: 0.5708 MB / 0.5275 GB, free: 14.15 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009697/0.3148, allocations: 0.7327 MB / 0.5283 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.007382/0.3222, allocations: 2.271 MB / 0.5305 GB, free: 12.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches