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.001097/0.001098, allocations: 109.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.001114/0.001114, allocations: 184.3 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.36/1.36, 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.2369/0.2369, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.91 kB / 471.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.385, allocations: 60.82 MB / 0.5197 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002923/0.388, allocations: 1.711 MB / 0.5213 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.39, allocations: 1.484 MB / 0.5228 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.071e-05/0.3901, allocations: 1.25 kB / 0.5228 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.3904, allocations: 40.83 kB / 0.5228 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.3906, allocations: 55.11 kB / 0.5229 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.3909, allocations: 112.5 kB / 0.523 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.3911, allocations: 97.38 kB / 0.5231 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.646e-05/0.3912, allocations: 12.27 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.305e-05/0.3913, allocations: 50.5 kB / 0.5231 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.3914, allocations: 34.56 kB / 0.5232 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3914, allocations: 3.625 kB / 0.5232 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3916, allocations: 62.77 kB / 0.5232 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.3916, allocations: 20.83 kB / 0.5232 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.3917, allocations: 36.73 kB / 0.5233 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3919, allocations: 121.8 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3919, allocations: 3.938 kB / 0.5234 GB, free: 1.062 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3919, allocations: 1.188 kB / 0.5234 GB, free: 1.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.3919, allocations: 0 / 0.5234 GB, free: 1.062 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.000462/0.3924, allocations: 405 kB / 0.5238 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3925, allocations: 8.625 kB / 0.5238 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.3925, allocations: 10.52 kB / 0.5238 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3927, allocations: 200.2 kB / 0.524 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3928, allocations: 6.438 kB / 0.524 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.3928, allocations: 6.5 kB / 0.524 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.3929, allocations: 75.11 kB / 0.5241 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.393, allocations: 0 / 0.5241 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.393, allocations: 5 kB / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.393, allocations: 1.766 kB / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.51e-05/0.3931, allocations: 17.58 kB / 0.5241 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.3934, allocations: 287.3 kB / 0.5244 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.3936, allocations: 55.97 kB / 0.5244 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.971e-05/0.3936, allocations: 20.64 kB / 0.5245 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3936, allocations: 5.094 kB / 0.5245 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3938, allocations: 66.14 kB / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3938, allocations: 0 / 0.5245 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000531/0.3944, allocations: 179.9 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3944, allocations: 79.45 kB / 0.5248 GB, free: 15.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3946, allocations: 149.4 kB / 0.5249 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3946, allocations: 30.95 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.3947, allocations: 93.91 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.3947, allocations: 25.95 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.334e-05/0.3948, allocations: 26.44 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3949, allocations: 325.1 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.002e-05/0.3949, allocations: 21.84 kB / 0.5254 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.395, allocations: 46 kB / 0.5255 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.3951, allocations: 56.39 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3952, allocations: 5.531 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001868/0.3953, allocations: 100.4 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3954, allocations: 4.594 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3954, allocations: 2.125 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3954, allocations: 1.469 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.146e-05/0.3955, allocations: 19.39 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3955, allocations: 5.078 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.3956, allocations: 10.8 kB / 0.5257 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3956, allocations: 6.969 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 0.0001049/0.3957, allocations: 125.8 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3957, allocations: 13.17 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.3958, allocations: 13.27 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3958, allocations: 1.859 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3958, allocations: 0 / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.3958, allocations: 84.67 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.3959, allocations: 10.09 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.3959, allocations: 6.5 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.396, allocations: 5.5 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002219/0.3962, allocations: 173.9 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002657/0.3965, allocations: 275.9 kB / 0.5263 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.102e-05/0.3965, allocations: 30.8 kB / 0.5264 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.377e-05/0.3967, allocations: 118.4 kB / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Backend: time 1.9e-07/0.3967, allocations: 0 / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.3982, allocations: 0.5056 MB / 0.527 GB, free: 14.09 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005923/0.3989, allocations: 0.6427 MB / 0.5276 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.005084/0.4039, allocations: 2.021 MB / 0.5296 GB, free: 12.75 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