Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 117.2 kB / 17.78 MB, free: 5.254 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.001316/0.001316, allocations: 181 kB / 18.71 MB, free: 4.332 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.367/1.367, allocations: 222.9 MB / 242.4 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.2015/0.2015, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 59.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3863, allocations: 60.82 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003544/0.3899, allocations: 1.711 MB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002255/0.3922, allocations: 0.8781 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.993e-05/0.3923, allocations: 1.344 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000551/0.3929, allocations: 76 kB / 0.5216 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003673/0.3933, allocations: 77.77 kB / 0.5217 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.3938, allocations: 117.2 kB / 0.5218 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.3941, allocations: 110.2 kB / 0.5219 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3942, allocations: 12.53 kB / 0.5219 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.3944, allocations: 50.83 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.3946, allocations: 54.8 kB / 0.522 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.3946, allocations: 3.688 kB / 0.522 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.3948, allocations: 41.27 kB / 0.522 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.634e-05/0.3948, allocations: 25.02 kB / 0.5221 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.3949, allocations: 32.33 kB / 0.5221 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.3953, allocations: 128 kB / 0.5222 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3953, allocations: 1.188 kB / 0.5222 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3953, allocations: 0 / 0.5222 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3953, allocations: 4 kB / 0.5222 GB, free: 1.52 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.0006254/0.3959, allocations: 421 kB / 0.5226 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.396, allocations: 9.875 kB / 0.5226 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.3961, allocations: 14.67 kB / 0.5226 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.3964, allocations: 207.7 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3964, allocations: 6.656 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.3965, allocations: 10.23 kB / 0.5229 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.3967, allocations: 57.48 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3967, allocations: 5.281 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3967, allocations: 0.6094 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3967, allocations: 0.9688 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.3968, allocations: 22.03 kB / 0.5229 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.3973, allocations: 288.3 kB / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.3975, allocations: 69.23 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.134e-05/0.3976, allocations: 18.78 kB / 0.5233 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.3977, allocations: 9.75 kB / 0.5233 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.3978, allocations: 65.95 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.3979, allocations: 0 / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007546/0.3986, allocations: 174.2 kB / 0.5235 GB, free: 328 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.3987, allocations: 58.22 kB / 0.5236 GB, free: 260 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.399, allocations: 212.1 kB / 0.5238 GB, free: 120 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.399, allocations: 27.73 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3992, allocations: 104.9 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.3992, allocations: 29.45 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.3993, allocations: 22.73 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3995, allocations: 326.6 kB / 0.5243 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.339e-05/0.3996, allocations: 22.52 kB / 0.5243 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3997, allocations: 42.05 kB / 0.5243 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.3999, allocations: 57.95 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3999, allocations: 1.469 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002987/0.4002, allocations: 100.9 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4003, allocations: 5.766 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.4003, allocations: 1.312 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4003, allocations: 1.312 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.4005, allocations: 18.45 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4005, allocations: 1.219 kB / 0.5245 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.468e-05/0.4006, allocations: 11.28 kB / 0.5245 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.4006, allocations: 3.281 kB / 0.5245 GB, free: 15.48 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.000152/0.4008, allocations: 128.4 kB / 0.5247 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.497e-05/0.4008, allocations: 13.47 kB / 0.5247 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.655e-05/0.4009, allocations: 21.08 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4009, allocations: 1.891 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4009, allocations: 4 kB / 0.5247 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4009, allocations: 5.656 kB / 0.5247 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/0.4016, allocations: 392.4 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4016, allocations: 384 / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.4017, allocations: 9.516 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.4017, allocations: 1.156 kB / 0.5251 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.4017, allocations: 14.09 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4017, allocations: 1.281 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4017, allocations: 0.7812 kB / 0.5251 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.4021, allocations: 209.1 kB / 0.5253 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.4022, allocations: 85.36 kB / 0.5254 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.4022, allocations: 10.39 kB / 0.5254 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.4024, allocations: 2.812 kB / 0.5254 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/0.4024, allocations: 14.34 kB / 0.5254 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.4025, allocations: 8.594 kB / 0.5254 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002149/0.4027, allocations: 155.7 kB / 0.5256 GB, free: 14.58 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4027, allocations: 0 / 0.5256 GB, free: 14.58 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004346/0.4032, allocations: 26.39 kB / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001564/0.4047, allocations: 454.9 kB / 0.526 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.405, allocations: 73.03 kB / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.405, allocations: 0 / 0.5261 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4052, allocations: 31.69 kB / 0.5261 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.4057, allocations: 28.06 kB / 0.5262 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006285/0.4063, allocations: 243.4 kB / 0.5264 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.4067, allocations: 0.7056 MB / 0.5271 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.759e-05/0.4068, allocations: 12 kB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.4069, allocations: 16.81 kB / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4069, allocations: 0 / 0.5271 GB, free: 13.44 MB / 398.1 MB Notification: Performance of Templates: time 0.007207/0.4141, allocations: 1.737 MB / 0.5288 GB, free: 12.8 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches