Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.0016/0.0016, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.408/1.408, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.238/0.238, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4879, allocations: 60.82 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003271/0.4912, allocations: 1.72 MB / 0.5207 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.4927, allocations: 0.8745 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.4928, allocations: 7.938 kB / 0.5215 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.4932, allocations: 96.67 kB / 0.5216 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.4935, allocations: 89.69 kB / 0.5217 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.4939, allocations: 110.5 kB / 0.5218 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.4941, allocations: 117.1 kB / 0.5219 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4942, allocations: 24.14 kB / 0.522 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.4944, allocations: 58.59 kB / 0.522 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.4945, allocations: 64.45 kB / 0.5221 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.4945, allocations: 3.188 kB / 0.5221 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.4947, allocations: 59.44 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.779e-05/0.4948, allocations: 25.98 kB / 0.5222 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.4948, allocations: 50.61 kB / 0.5222 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.4951, allocations: 139.2 kB / 0.5223 GB, free: 1.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4951, allocations: 4 kB / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.4951, allocations: 1.438 kB / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.413e-06/0.4952, allocations: 0 / 0.5223 GB, free: 1.496 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.0006417/0.4958, allocations: 438.2 kB / 0.5228 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4959, allocations: 9 kB / 0.5228 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.4959, allocations: 12.75 kB / 0.5228 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.4962, allocations: 217.6 kB / 0.523 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.4962, allocations: 10.23 kB / 0.523 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.4963, allocations: 11.5 kB / 0.523 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.4965, allocations: 57.64 kB / 0.5231 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.4965, allocations: 0.6562 kB / 0.5231 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.4965, allocations: 10.84 kB / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4965, allocations: 0 / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.852e-05/0.4966, allocations: 19.66 kB / 0.5231 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.4971, allocations: 312 kB / 0.5234 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002956/0.4974, allocations: 67.55 kB / 0.5235 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.4975, allocations: 20.47 kB / 0.5235 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.4975, allocations: 3.031 kB / 0.5235 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.4977, allocations: 66.88 kB / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.4977, allocations: 0 / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009022/0.4987, allocations: 251 kB / 0.5238 GB, free: 256 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.4987, allocations: 59.98 kB / 0.5238 GB, free: 184 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.499, allocations: 240 kB / 0.5241 GB, free: 44 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.499, allocations: 27.14 kB / 0.5241 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.4992, allocations: 113.5 kB / 0.5242 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.392e-05/0.4992, allocations: 33.95 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.4993, allocations: 26.92 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4995, allocations: 329.9 kB / 0.5246 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.4996, allocations: 30.5 kB / 0.5246 GB, free: 15.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-05/0.4997, allocations: 43.16 kB / 0.5246 GB, free: 15.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4999, allocations: 83.92 kB / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4999, allocations: 0 / 0.5247 GB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003444/0.5002, allocations: 121.9 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.5002, allocations: 10.56 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5003, allocations: 0.8906 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5003, allocations: 1.156 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.957e-05/0.5004, allocations: 24.48 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.5004, allocations: 4.641 kB / 0.5249 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.5005, allocations: 6.859 kB / 0.5249 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5005, allocations: 3.562 kB / 0.5249 GB, free: 15.37 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.0001357/0.5006, allocations: 138.7 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.5007, allocations: 15.52 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.491e-05/0.5007, allocations: 27.36 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5007, allocations: 1.781 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5008, allocations: 3.938 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5008, allocations: 6.375 kB / 0.5251 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.5014, allocations: 450 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.5015, allocations: 4.562 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.5015, allocations: 14.64 kB / 0.5255 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.5015, allocations: 4.062 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.5016, allocations: 15.81 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5016, allocations: 1.594 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5016, allocations: 2.109 kB / 0.5256 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.5019, allocations: 230.8 kB / 0.5258 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.563e-05/0.502, allocations: 90.22 kB / 0.5259 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.502, allocations: 11.41 kB / 0.5259 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.5021, allocations: 4.203 kB / 0.5259 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.5022, allocations: 10.97 kB / 0.5259 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.5022, allocations: 4.688 kB / 0.5259 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002457/0.5025, allocations: 185.6 kB / 0.5261 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.204e-06/0.5025, allocations: 0 / 0.5261 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.5028, allocations: 34.3 kB / 0.5261 GB, free: 14.4 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.001405/0.5042, allocations: 0.5073 MB / 0.5266 GB, free: 14.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.5044, allocations: 81.16 kB / 0.5267 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5044, allocations: 0 / 0.5267 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.5046, allocations: 44.78 kB / 0.5267 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.505, allocations: 30.73 kB / 0.5267 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.5056, allocations: 301.4 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.5061, allocations: 0.7285 MB / 0.5277 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.315e-05/0.5061, allocations: 19.16 kB / 0.5278 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.5062, allocations: 21.94 kB / 0.5278 GB, free: 13.18 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5062, allocations: 1.031 kB / 0.5278 GB, free: 13.18 MB / 398.1 MB Notification: Performance of Templates: time 0.007161/0.5134, allocations: 1.975 MB / 0.5297 GB, free: 12.39 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches