Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 109.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.001436/0.001436, allocations: 183.9 kB / 18.7 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.451/1.451, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2319/0.2319, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 59.91 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4854, allocations: 60.83 MB / 0.519 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003214/0.4886, allocations: 1.705 MB / 0.5206 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4901, allocations: 0.8753 MB / 0.5215 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.176e-05/0.4902, allocations: 1.062 kB / 0.5215 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.4905, allocations: 46.75 kB / 0.5215 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.4908, allocations: 53.34 kB / 0.5216 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.4911, allocations: 112.9 kB / 0.5217 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.4912, allocations: 97.14 kB / 0.5218 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.4913, allocations: 7.656 kB / 0.5218 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.013e-05/0.4914, allocations: 45.25 kB / 0.5218 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.699e-05/0.4915, allocations: 30.53 kB / 0.5219 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.4916, allocations: 3.219 kB / 0.5219 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.4917, allocations: 46.67 kB / 0.5219 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.4917, allocations: 27.75 kB / 0.522 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.4918, allocations: 33.48 kB / 0.522 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.492, allocations: 110.5 kB / 0.5221 GB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.492, allocations: 0 / 0.5221 GB, free: 1.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.492, allocations: 1.156 kB / 0.5221 GB, free: 1.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.492, allocations: 0 / 0.5221 GB, free: 1.797 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.0004997/0.4925, allocations: 419.8 kB / 0.5225 GB, free: 1.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.4926, allocations: 8.406 kB / 0.5225 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.4926, allocations: 15.14 kB / 0.5225 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.4928, allocations: 216.1 kB / 0.5227 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.4929, allocations: 5.844 kB / 0.5227 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4929, allocations: 6.156 kB / 0.5227 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.493, allocations: 54.89 kB / 0.5228 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4931, allocations: 3.938 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4931, allocations: 0 / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.4931, allocations: 2.094 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.4932, allocations: 21.48 kB / 0.5228 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003139/0.4935, allocations: 291.7 kB / 0.5231 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.4937, allocations: 57.41 kB / 0.5231 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.194e-05/0.4937, allocations: 19.12 kB / 0.5232 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.4938, allocations: 5.125 kB / 0.5232 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.4939, allocations: 74.42 kB / 0.5232 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4939, allocations: 0 / 0.5232 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005398/0.4945, allocations: 172.3 kB / 0.5234 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.4945, allocations: 61.14 kB / 0.5235 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.4947, allocations: 196.2 kB / 0.5236 GB, free: 412 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.4947, allocations: 27.5 kB / 0.5237 GB, free: 380 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.4948, allocations: 108.3 kB / 0.5238 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.4948, allocations: 27.22 kB / 0.5238 GB, free: 256 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.4948, allocations: 21.05 kB / 0.5238 GB, free: 236 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.4949, allocations: 327 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.495, allocations: 20.47 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.4951, allocations: 36.28 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4952, allocations: 68.83 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4952, allocations: 1.219 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/0.4954, allocations: 97.25 kB / 0.5243 GB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.4954, allocations: 5.562 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4955, allocations: 0.75 kB / 0.5244 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4955, allocations: 5.797 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.4956, allocations: 18.44 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4956, allocations: 2.625 kB / 0.5244 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.4956, allocations: 10.47 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.4957, allocations: 7.625 kB / 0.5244 GB, free: 15.76 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.0001009/0.4958, allocations: 124.7 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.4958, allocations: 13.83 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.4959, allocations: 17.11 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4959, allocations: 2.281 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4959, allocations: 0.7031 kB / 0.5245 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4959, allocations: 4.547 kB / 0.5246 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.4964, allocations: 394.4 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4964, allocations: 0.7031 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.4964, allocations: 13.3 kB / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4964, allocations: 0 / 0.5249 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.4964, allocations: 10.34 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4965, allocations: 2.609 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.4965, allocations: 4.312 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.4967, allocations: 200.7 kB / 0.5251 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.4968, allocations: 85.75 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.4968, allocations: 9.766 kB / 0.5252 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.499e-05/0.4969, allocations: 7.625 kB / 0.5252 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.4969, allocations: 5 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.497, allocations: 4.781 kB / 0.5253 GB, free: 14.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.4971, allocations: 150.9 kB / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4971, allocations: 0 / 0.5254 GB, free: 14.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.4974, allocations: 30.97 kB / 0.5254 GB, free: 14.87 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.001104/0.4985, allocations: 471.5 kB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.4987, allocations: 56.08 kB / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4988, allocations: 0 / 0.5259 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.369e-05/0.4988, allocations: 37.2 kB / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.4992, allocations: 30.3 kB / 0.526 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.4998, allocations: 221.6 kB / 0.5262 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.5001, allocations: 0.7121 MB / 0.5269 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.387e-05/0.5002, allocations: 11.62 kB / 0.5269 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.5002, allocations: 20.47 kB / 0.5269 GB, free: 13.74 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5002, allocations: 0 / 0.5269 GB, free: 13.74 MB / 398.1 MB Notification: Performance of Templates: time 0.004756/0.505, allocations: 1.707 MB / 0.5286 GB, free: 13.14 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches