Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.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.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 110.5 kB / 18.46 MB, free: 4.594 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.001834/0.001834, allocations: 187.2 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.456/1.456, 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.2033/0.2033, allocations: 44.19 MB / 337.4 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 59.91 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3685, allocations: 60.82 MB / 0.5197 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002793/0.3713, allocations: 1.715 MB / 0.5213 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3726, allocations: 0.8754 MB / 0.5222 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.3727, allocations: 0 / 0.5222 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.3729, allocations: 39.66 kB / 0.5222 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.3732, allocations: 56.44 kB / 0.5223 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.3734, allocations: 105 kB / 0.5224 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.3736, allocations: 99.92 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.3737, allocations: 7.781 kB / 0.5225 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.3738, allocations: 49.61 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.3739, allocations: 26.69 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.3739, allocations: 3.531 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.374, allocations: 42.47 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.3741, allocations: 26.33 kB / 0.5226 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.3741, allocations: 37.89 kB / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.3744, allocations: 112 kB / 0.5228 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3744, allocations: 0 / 0.5228 GB, free: 1.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3744, allocations: 0 / 0.5228 GB, free: 1.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.3744, allocations: 1.156 kB / 0.5228 GB, free: 1.52 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004514/0.3748, allocations: 418.9 kB / 0.5232 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3749, allocations: 7.875 kB / 0.5232 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.3749, allocations: 10.45 kB / 0.5232 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.3752, allocations: 202.1 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.3752, allocations: 2.984 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.3752, allocations: 14.47 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3754, allocations: 54.02 kB / 0.5234 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3754, allocations: 0 / 0.5234 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.3754, allocations: 4.562 kB / 0.5234 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3754, allocations: 5.375 kB / 0.5234 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.3755, allocations: 18.53 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.3758, allocations: 290.5 kB / 0.5237 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.376, allocations: 55.34 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.376, allocations: 28.83 kB / 0.5238 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.376, allocations: 5.125 kB / 0.5238 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.3762, allocations: 61.34 kB / 0.5239 GB, free: 436 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.3762, allocations: 0 / 0.5239 GB, free: 436 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005132/0.3767, allocations: 176.8 kB / 0.5241 GB, free: 344 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.3767, allocations: 57.3 kB / 0.5241 GB, free: 276 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3769, allocations: 186.9 kB / 0.5243 GB, free: 144 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.3769, allocations: 32.16 kB / 0.5243 GB, free: 108 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.377, allocations: 98.64 kB / 0.5244 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.041e-05/0.377, allocations: 29.7 kB / 0.5244 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.3771, allocations: 22.55 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.3772, allocations: 329.5 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.327e-05/0.3773, allocations: 18.42 kB / 0.5248 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.3774, allocations: 42.48 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.3775, allocations: 61.05 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3775, allocations: 1.156 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002009/0.3777, allocations: 105.1 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3777, allocations: 8.094 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3777, allocations: 0.625 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3778, allocations: 3 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.3779, allocations: 18.19 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3779, allocations: 5.859 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.3779, allocations: 2 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3779, allocations: 7.688 kB / 0.525 GB, free: 15.5 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 (10): * Single equations (assignments): 10 * 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.0001062/0.3781, allocations: 133.4 kB / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.3781, allocations: 12.53 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.3781, allocations: 15.05 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.3781, allocations: 1.891 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3781, allocations: 3.938 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.145e-05/0.3782, allocations: 84.03 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.3782, allocations: 10.66 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.151e-05/0.3783, allocations: 2.312 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3783, allocations: 9.844 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000223/0.3785, allocations: 170.1 kB / 0.5255 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002691/0.3788, allocations: 275.2 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.949e-05/0.3789, allocations: 26.73 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.379, allocations: 150.9 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Backend: time 3.41e-07/0.379, allocations: 0 / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.3805, allocations: 493.7 kB / 0.5264 GB, free: 14.57 MB / 398.1 MB Notification: Performance of SimCode: time 0.0007163/0.3813, allocations: 0.6659 MB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of Templates: time 0.004816/0.3861, allocations: 1.753 MB / 0.5287 GB, free: 13.39 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches