Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 110.5 kB / 18.46 MB, free: 4.613 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.001196/0.001196, allocations: 183.3 kB / 19.39 MB, free: 3.691 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.443/1.443, 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.2266/0.2266, allocations: 44.18 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 471.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3786, allocations: 60.82 MB / 0.5197 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002634/0.3812, allocations: 1.71 MB / 0.5213 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3831, allocations: 1.493 MB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.313e-05/0.3832, allocations: 1.125 kB / 0.5228 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.3835, allocations: 40.56 kB / 0.5228 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.3837, allocations: 51.48 kB / 0.5229 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.384, allocations: 109.8 kB / 0.523 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.3842, allocations: 100.3 kB / 0.5231 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3843, allocations: 12.7 kB / 0.5231 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.294e-05/0.3844, allocations: 46.34 kB / 0.5231 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3846, allocations: 38.36 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.3846, allocations: 5.219 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.3847, allocations: 57.94 kB / 0.5232 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.3848, allocations: 23.75 kB / 0.5233 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.85e-05/0.3848, allocations: 29.8 kB / 0.5233 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.3851, allocations: 121.4 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3851, allocations: 1.922 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3851, allocations: 0 / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3851, allocations: 0 / 0.5234 GB, free: 1.066 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.0005006/0.3856, allocations: 411.3 kB / 0.5238 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3857, allocations: 10.22 kB / 0.5238 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.3857, allocations: 9.359 kB / 0.5238 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.386, allocations: 204.8 kB / 0.524 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.386, allocations: 2.688 kB / 0.524 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3861, allocations: 6.828 kB / 0.524 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.3862, allocations: 75.14 kB / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3863, allocations: 0 / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3863, allocations: 4.938 kB / 0.5241 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3863, allocations: 0.7969 kB / 0.5241 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.3864, allocations: 22.22 kB / 0.5241 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.3867, allocations: 279.2 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.3869, allocations: 56.41 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.289e-05/0.3869, allocations: 24.84 kB / 0.5245 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.387, allocations: 5.031 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3871, allocations: 62.47 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3871, allocations: 0 / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005426/0.3877, allocations: 179 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.3878, allocations: 82.95 kB / 0.5248 GB, free: 15.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.3879, allocations: 149.7 kB / 0.5249 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.3879, allocations: 34.89 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.388, allocations: 94 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.388, allocations: 29.95 kB / 0.5251 GB, free: 15.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.3881, allocations: 23.66 kB / 0.5251 GB, free: 15.49 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3882, allocations: 324 kB / 0.5254 GB, free: 15.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.3883, allocations: 21.3 kB / 0.5254 GB, free: 15.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.3883, allocations: 45.83 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.3885, allocations: 66.48 kB / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3885, allocations: 0 / 0.5255 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.3887, allocations: 96.45 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3887, allocations: 5.781 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3887, allocations: 0 / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3887, allocations: 5.25 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.3888, allocations: 16.36 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.3888, allocations: 1.094 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.94e-05/0.3889, allocations: 11.02 kB / 0.5257 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.3889, allocations: 6.656 kB / 0.5257 GB, free: 15.02 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 8.904e-05/0.389, allocations: 117.9 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.389, allocations: 12.86 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.423e-05/0.3891, allocations: 13.98 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3891, allocations: 1.766 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3891, allocations: 4 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.3891, allocations: 84.12 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.3892, allocations: 13.64 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.389e-05/0.3892, allocations: 7.75 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.3893, allocations: 5.219 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002376/0.3895, allocations: 173.7 kB / 0.5261 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002703/0.3898, allocations: 276.6 kB / 0.5263 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.094e-05/0.3899, allocations: 30.53 kB / 0.5264 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001033/0.39, allocations: 117 kB / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Backend: time 3.51e-07/0.39, allocations: 0 / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001489/0.3915, allocations: 0.5092 MB / 0.527 GB, free: 14.09 MB / 398.1 MB Notification: Performance of SimCode: time 0.000571/0.3921, allocations: 0.6391 MB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of Templates: time 0.005096/0.3972, allocations: 2.018 MB / 0.5296 GB, free: 12.76 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches