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.001244/0.001244, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001305/0.001305, allocations: 183.1 kB / 18.71 MB, free: 4.371 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.48/1.48, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2113/0.2113, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4774, allocations: 60.82 MB / 0.519 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003282/0.4807, allocations: 1.731 MB / 0.5207 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.4822, allocations: 0.884 MB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.133e-05/0.4823, allocations: 1.062 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.4827, allocations: 89.8 kB / 0.5216 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.483, allocations: 78.05 kB / 0.5217 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.4834, allocations: 109.8 kB / 0.5218 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.4836, allocations: 115.5 kB / 0.5219 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.4837, allocations: 20.95 kB / 0.5219 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.4838, allocations: 58.02 kB / 0.522 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.484, allocations: 67.38 kB / 0.5221 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.484, allocations: 3.875 kB / 0.5221 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.4841, allocations: 54.88 kB / 0.5221 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-05/0.4842, allocations: 25.08 kB / 0.5221 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.817e-05/0.4843, allocations: 43.55 kB / 0.5222 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.4845, allocations: 135.8 kB / 0.5223 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4846, allocations: 0 / 0.5223 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4846, allocations: 1.406 kB / 0.5223 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4846, allocations: 0 / 0.5223 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.000607/0.4852, allocations: 436.4 kB / 0.5227 GB, free: 1.078 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4852, allocations: 9.125 kB / 0.5227 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.4853, allocations: 14.59 kB / 0.5228 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.4856, allocations: 217.3 kB / 0.523 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4857, allocations: 1.75 kB / 0.523 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.4857, allocations: 7.359 kB / 0.523 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4859, allocations: 58.64 kB / 0.523 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4859, allocations: 3.938 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4859, allocations: 5.094 kB / 0.523 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4859, allocations: 5.094 kB / 0.523 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.322e-05/0.486, allocations: 21.2 kB / 0.5231 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004208/0.4865, allocations: 304.5 kB / 0.5233 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.4867, allocations: 60.53 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.4868, allocations: 22.5 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.4869, allocations: 5.094 kB / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.487, allocations: 70.97 kB / 0.5235 GB, free: 392 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.487, allocations: 0 / 0.5235 GB, free: 392 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008197/0.4879, allocations: 241.7 kB / 0.5237 GB, free: 280 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.4879, allocations: 61.23 kB / 0.5238 GB, free: 208 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.4881, allocations: 218.9 kB / 0.524 GB, free: 68 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.4881, allocations: 36.44 kB / 0.524 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.4882, allocations: 109.2 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.4883, allocations: 31.23 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.4884, allocations: 28.36 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4885, allocations: 328 kB / 0.5245 GB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.4886, allocations: 27.52 kB / 0.5245 GB, free: 15.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.665e-05/0.4887, allocations: 51.53 kB / 0.5246 GB, free: 15.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.4889, allocations: 84.02 kB / 0.5247 GB, free: 15.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4889, allocations: 0 / 0.5247 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002419/0.4891, allocations: 125.7 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4892, allocations: 9.781 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4892, allocations: 0 / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4892, allocations: 1.25 kB / 0.5248 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.235e-05/0.4893, allocations: 25.17 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4893, allocations: 5.094 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.4894, allocations: 6.094 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.4894, allocations: 7.625 kB / 0.5248 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.0001292/0.4895, allocations: 130.4 kB / 0.525 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.4895, allocations: 11.25 kB / 0.525 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.4896, allocations: 19.16 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4896, allocations: 5.328 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.4896, allocations: 3.938 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4896, allocations: 2.422 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.4902, allocations: 462.1 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4903, allocations: 2 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.132e-05/0.4903, allocations: 18.36 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4903, allocations: 1.188 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4903, allocations: 2.391 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4903, allocations: 1.594 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.4904, allocations: 1.875 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.4907, allocations: 240.7 kB / 0.5257 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.4907, allocations: 84.34 kB / 0.5258 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.4908, allocations: 7.172 kB / 0.5258 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.4909, allocations: 3.719 kB / 0.5258 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.4909, allocations: 11.34 kB / 0.5258 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.4909, allocations: 13.45 kB / 0.5258 GB, free: 14.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.4911, allocations: 171.9 kB / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4911, allocations: 0 / 0.526 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.4914, allocations: 34.02 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001289/0.4927, allocations: 0.5096 MB / 0.5265 GB, free: 14.19 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.493, allocations: 77.14 kB / 0.5266 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.493, allocations: 5.438 kB / 0.5266 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/0.4931, allocations: 42.92 kB / 0.5266 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.4935, allocations: 32.11 kB / 0.5267 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.4941, allocations: 276.4 kB / 0.5269 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.4944, allocations: 0.7251 MB / 0.5276 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.115e-05/0.4945, allocations: 18.92 kB / 0.5276 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.697e-05/0.4945, allocations: 18.52 kB / 0.5277 GB, free: 13.22 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4946, allocations: 0 / 0.5277 GB, free: 13.22 MB / 398.1 MB Notification: Performance of Templates: time 0.005473/0.5, allocations: 1.984 MB / 0.5296 GB, free: 12.43 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/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