Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001282, allocations: 106.6 kB / 18.45 MB, free: 4.637 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.00139/0.00139, allocations: 187.2 kB / 19.39 MB, free: 3.711 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.373/1.373, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.217/0.217, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.89 kB / 471.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3803, allocations: 60.82 MB / 0.5196 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003909/0.3843, allocations: 1.672 MB / 0.5213 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.3863, allocations: 0.8583 MB / 0.5221 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.3864, allocations: 1.156 kB / 0.5221 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004599/0.3869, allocations: 57.3 kB / 0.5222 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.3873, allocations: 68.64 kB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005058/0.3878, allocations: 100.3 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.3881, allocations: 102.7 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/0.3881, allocations: 5.391 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.3883, allocations: 47.06 kB / 0.5225 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.3885, allocations: 52.64 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.3885, allocations: 3.625 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.3887, allocations: 29.72 kB / 0.5226 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.3887, allocations: 18.77 kB / 0.5226 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.3888, allocations: 31.8 kB / 0.5226 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.3891, allocations: 95.7 kB / 0.5227 GB, free: 1.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.3891, allocations: 0.7031 kB / 0.5227 GB, free: 1.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3891, allocations: 1 kB / 0.5227 GB, free: 1.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3891, allocations: 0 / 0.5227 GB, free: 1.625 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005972/0.3898, allocations: 415.4 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3898, allocations: 8.953 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.3899, allocations: 9.266 kB / 0.5231 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.3902, allocations: 206.1 kB / 0.5233 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3902, allocations: 2.25 kB / 0.5233 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.3903, allocations: 10.34 kB / 0.5233 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3905, allocations: 47.12 kB / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3905, allocations: 0 / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.3905, allocations: 0 / 0.5234 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3905, allocations: 6.031 kB / 0.5234 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.3906, allocations: 22 kB / 0.5234 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.3909, allocations: 178.5 kB / 0.5236 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.3911, allocations: 49.55 kB / 0.5236 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.3912, allocations: 22.72 kB / 0.5236 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.3913, allocations: 5.906 kB / 0.5236 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.3915, allocations: 68.19 kB / 0.5237 GB, free: 0.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.3915, allocations: 1.062 kB / 0.5237 GB, free: 0.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004069/0.3919, allocations: 99.34 kB / 0.5238 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.392, allocations: 52.62 kB / 0.5239 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.3922, allocations: 190.1 kB / 0.524 GB, free: 380 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3922, allocations: 26.8 kB / 0.5241 GB, free: 348 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.3923, allocations: 103.4 kB / 0.5242 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.3924, allocations: 15.47 kB / 0.5242 GB, free: 236 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.3925, allocations: 19.5 kB / 0.5242 GB, free: 216 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.3927, allocations: 326.1 kB / 0.5245 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.3928, allocations: 13.56 kB / 0.5245 GB, free: 15.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/0.3928, allocations: 26.75 kB / 0.5245 GB, free: 15.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.393, allocations: 50.97 kB / 0.5246 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.393, allocations: 0 / 0.5246 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002433/0.3933, allocations: 84.59 kB / 0.5247 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3933, allocations: 4.531 kB / 0.5247 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3933, allocations: 1.094 kB / 0.5247 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3933, allocations: 1.688 kB / 0.5247 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.3935, allocations: 13.94 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3935, allocations: 1.969 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.662e-05/0.3936, allocations: 6.828 kB / 0.5247 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3936, allocations: 6.062 kB / 0.5247 GB, free: 15.77 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 (7): * Single equations (assignments): 7 * 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.0001546/0.3937, allocations: 124.4 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.3938, allocations: 20.91 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.3939, allocations: 14.27 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3939, allocations: 0 / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3939, allocations: 1.828 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.394, allocations: 84.3 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.394, allocations: 1.859 kB / 0.5249 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.3941, allocations: 7.203 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-05/0.3941, allocations: 4.125 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003409/0.3945, allocations: 166.7 kB / 0.5251 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004187/0.3949, allocations: 255.2 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.27e-05/0.395, allocations: 16.09 kB / 0.5254 GB, free: 15.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.3952, allocations: 144.5 kB / 0.5255 GB, free: 15.06 MB / 398.1 MB Notification: Performance of Backend: time 4.71e-07/0.3952, allocations: 7.938 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.3973, allocations: 413.6 kB / 0.5259 GB, free: 14.88 MB / 398.1 MB Notification: Performance of SimCode: time 0.00106/0.3984, allocations: 0.6487 MB / 0.5265 GB, free: 14.25 MB / 398.1 MB Notification: Performance of Templates: time 0.006644/0.405, allocations: 1.505 MB / 0.528 GB, free: 13.86 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches