Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 113.9 kB / 18.45 MB, free: 4.617 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.001053/0.001053, allocations: 190.1 kB / 19.39 MB, free: 3.688 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.319/1.319, allocations: 222.9 MB / 243.1 MB, free: 15.02 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.2085/0.2085, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3848, allocations: 60.82 MB / 0.5197 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003044/0.3879, allocations: 1.715 MB / 0.5213 GB, free: 2.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002127/0.39, allocations: 1.481 MB / 0.5228 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.3901, allocations: 0 / 0.5228 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.3904, allocations: 36.39 kB / 0.5228 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.3907, allocations: 67.28 kB / 0.5229 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.391, allocations: 110 kB / 0.523 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.3912, allocations: 97.59 kB / 0.5231 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3913, allocations: 7.016 kB / 0.5231 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.385e-05/0.3914, allocations: 46.7 kB / 0.5231 GB, free: 1.188 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.3916, allocations: 43.16 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3916, allocations: 4.969 kB / 0.5232 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3917, allocations: 62.88 kB / 0.5232 GB, free: 1.145 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.3918, allocations: 15 kB / 0.5233 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.3919, allocations: 33.27 kB / 0.5233 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.3921, allocations: 122.4 kB / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3922, allocations: 0 / 0.5234 GB, free: 1.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3922, allocations: 3.938 kB / 0.5234 GB, free: 1.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.3922, 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.0005226/0.3927, allocations: 410 kB / 0.5238 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3928, allocations: 7.938 kB / 0.5238 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.3928, allocations: 9.047 kB / 0.5238 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.3931, allocations: 206.6 kB / 0.524 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3931, allocations: 2.062 kB / 0.524 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.3932, allocations: 6.25 kB / 0.524 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3933, allocations: 70.92 kB / 0.5241 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3934, allocations: 0.6094 kB / 0.5241 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3934, allocations: 5.188 kB / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3934, allocations: 0 / 0.5241 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.3935, allocations: 27.58 kB / 0.5241 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.3938, allocations: 282.9 kB / 0.5244 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.394, allocations: 59.92 kB / 0.5244 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/0.3941, allocations: 21.12 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3941, allocations: 1.094 kB / 0.5245 GB, free: 20 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.3943, allocations: 69.47 kB / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3943, allocations: 0 / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005967/0.3949, allocations: 172.2 kB / 0.5247 GB, free: 15.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.395, allocations: 82.81 kB / 0.5248 GB, free: 15.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3952, allocations: 149.8 kB / 0.5249 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3952, allocations: 26.8 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.3953, allocations: 97.48 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.3953, allocations: 26.89 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.3954, allocations: 25.72 kB / 0.5251 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3955, allocations: 325 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.3956, allocations: 18.06 kB / 0.5254 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.3956, allocations: 48.8 kB / 0.5255 GB, free: 15.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3958, allocations: 58.98 kB / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3958, allocations: 0 / 0.5255 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001925/0.396, allocations: 104 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.396, allocations: 5.719 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.396, allocations: 1.844 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.396, allocations: 2.031 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.3961, allocations: 15.88 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3961, allocations: 0 / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.3962, allocations: 6.75 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3962, allocations: 11.45 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.0001081/0.3963, allocations: 129.3 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.3964, allocations: 13.69 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.3964, allocations: 13.66 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3964, allocations: 0.7031 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3964, allocations: 0 / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.3965, allocations: 85.05 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.3965, allocations: 6.703 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.381e-05/0.3966, allocations: 10.22 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.3966, allocations: 9.891 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002148/0.3968, allocations: 165.2 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002722/0.3971, allocations: 279.8 kB / 0.5263 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.871e-05/0.3972, allocations: 26.34 kB / 0.5264 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.3973, allocations: 119.8 kB / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of Backend: time 6.31e-07/0.3973, allocations: 4 kB / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.3988, allocations: 0.5016 MB / 0.527 GB, free: 14.1 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005897/0.3994, allocations: 0.6434 MB / 0.5276 GB, free: 13.47 MB / 398.1 MB Notification: Performance of Templates: time 0.00534/0.4048, allocations: 2.02 MB / 0.5296 GB, free: 12.75 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches