Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001077, allocations: 111.7 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.001204/0.001205, allocations: 186.1 kB / 19.38 MB, free: 3.68 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.385/1.385, allocations: 222.9 MB / 243.1 MB, free: 15.08 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.2175/0.2175, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 68.08 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3813, allocations: 60.81 MB / 0.5197 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003365/0.3847, allocations: 1.731 MB / 0.5214 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.3863, allocations: 0.8724 MB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.3865, allocations: 1.312 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.3869, allocations: 92.17 kB / 0.5223 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3872, allocations: 81.56 kB / 0.5224 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.3877, allocations: 110.6 kB / 0.5225 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.3879, allocations: 119.4 kB / 0.5226 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.388, allocations: 17.2 kB / 0.5226 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.3881, allocations: 61.66 kB / 0.5227 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.3883, allocations: 63.95 kB / 0.5227 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.3883, allocations: 3.312 kB / 0.5227 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3884, allocations: 60.08 kB / 0.5228 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.3885, allocations: 20.58 kB / 0.5228 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.3886, allocations: 38.59 kB / 0.5228 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.3888, allocations: 141.1 kB / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3888, allocations: 0 / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3888, allocations: 0 / 0.523 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3888, allocations: 0 / 0.523 GB, free: 1.5 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005197/0.3894, allocations: 436.9 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3894, allocations: 8.781 kB / 0.5234 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.3895, allocations: 15.28 kB / 0.5234 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.3897, allocations: 212.2 kB / 0.5236 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3898, allocations: 6.469 kB / 0.5236 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3898, allocations: 7.359 kB / 0.5236 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3899, allocations: 66.06 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.39, allocations: 0 / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.39, allocations: 1.922 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.39, allocations: 1.344 kB / 0.5237 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.3901, allocations: 24.25 kB / 0.5237 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.3904, allocations: 304.8 kB / 0.524 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3907, allocations: 63.92 kB / 0.5241 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.6e-05/0.3907, allocations: 21.59 kB / 0.5241 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3908, allocations: 1.328 kB / 0.5241 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.3909, allocations: 75.94 kB / 0.5242 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.145e-05/0.3909, allocations: 0 / 0.5242 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006981/0.3916, allocations: 237.8 kB / 0.5244 GB, free: 280 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.3917, allocations: 57.31 kB / 0.5244 GB, free: 212 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.3918, allocations: 221.9 kB / 0.5247 GB, free: 68 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3919, allocations: 27.7 kB / 0.5247 GB, free: 36 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.3919, allocations: 114 kB / 0.5248 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.392, allocations: 43.08 kB / 0.5248 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.392, allocations: 28.95 kB / 0.5249 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3922, allocations: 323.1 kB / 0.5252 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.3923, allocations: 31.33 kB / 0.5252 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.593e-05/0.3924, allocations: 48.31 kB / 0.5252 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3925, allocations: 87.92 kB / 0.5253 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3925, allocations: 4 kB / 0.5253 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002243/0.3928, allocations: 128.8 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3928, allocations: 7.125 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3928, allocations: 0 / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3928, allocations: 1.562 kB / 0.5255 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.3929, allocations: 24.62 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.356e-05/0.3929, allocations: 9.844 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.757e-05/0.393, allocations: 2.5 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.393, allocations: 4.516 kB / 0.5255 GB, free: 15.38 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 (13): * Single equations (assignments): 13 * 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.0001136/0.3931, allocations: 134.6 kB / 0.5256 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.3932, allocations: 11.41 kB / 0.5256 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.3932, allocations: 22.28 kB / 0.5257 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3932, allocations: 2.203 kB / 0.5257 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3932, allocations: 0 / 0.5257 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.3933, allocations: 92.64 kB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.3933, allocations: 2.109 kB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.3934, allocations: 6.734 kB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.3934, allocations: 7.219 kB / 0.5258 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000269/0.3937, allocations: 202.3 kB / 0.526 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002968/0.394, allocations: 303.6 kB / 0.5263 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.284e-05/0.3941, allocations: 39.86 kB / 0.5263 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.3943, allocations: 171 kB / 0.5265 GB, free: 14.61 MB / 398.1 MB Notification: Performance of Backend: time 3.3e-07/0.3943, allocations: 0 / 0.5265 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.3958, allocations: 0.5586 MB / 0.527 GB, free: 14.38 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006827/0.3965, allocations: 0.6984 MB / 0.5277 GB, free: 13.74 MB / 398.1 MB Notification: Performance of Templates: time 0.005518/0.402, allocations: 2.05 MB / 0.5297 GB, free: 12.98 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches