Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.001766/0.001766, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.314/1.314, 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.2045/0.2045, allocations: 44.18 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 59.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3881, allocations: 60.83 MB / 0.519 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002683/0.3908, allocations: 1.71 MB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.3923, allocations: 0.8757 MB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.3924, allocations: 1.156 kB / 0.5215 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.3928, allocations: 42.47 kB / 0.5216 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.393, allocations: 55.55 kB / 0.5216 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.3934, allocations: 114 kB / 0.5217 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3936, allocations: 95.08 kB / 0.5218 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3937, allocations: 8.672 kB / 0.5218 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.338e-05/0.3938, allocations: 44.81 kB / 0.5219 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.3939, allocations: 25.91 kB / 0.5219 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3939, allocations: 7.25 kB / 0.5219 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.394, allocations: 42.69 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.3941, allocations: 23.67 kB / 0.522 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.3942, allocations: 33.66 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.3944, allocations: 121.2 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3944, allocations: 0 / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3944, allocations: 0 / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3944, allocations: 1.219 kB / 0.5221 GB, free: 1.535 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.0005195/0.395, allocations: 420.2 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.395, allocations: 8.938 kB / 0.5225 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.395, allocations: 14.36 kB / 0.5225 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.3953, allocations: 216 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3953, allocations: 1.594 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.3953, allocations: 10.95 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.3954, allocations: 53.61 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3955, allocations: 1.062 kB / 0.5228 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3955, allocations: 4.609 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3955, allocations: 1.031 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.037e-05/0.3956, allocations: 22.59 kB / 0.5228 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.3959, allocations: 287.1 kB / 0.5231 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.3961, allocations: 56.48 kB / 0.5232 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.3961, allocations: 24.03 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.3961, allocations: 1 kB / 0.5232 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.3963, allocations: 69.92 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3963, allocations: 1.281 kB / 0.5232 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004754/0.3968, allocations: 176.1 kB / 0.5234 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.3968, allocations: 57.45 kB / 0.5235 GB, free: 284 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.3969, allocations: 196.3 kB / 0.5237 GB, free: 148 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.397, allocations: 31.02 kB / 0.5237 GB, free: 112 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.397, allocations: 104.7 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.831e-05/0.3971, allocations: 26.12 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.3971, allocations: 25.92 kB / 0.5238 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3972, allocations: 326.3 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.3973, allocations: 21.38 kB / 0.5242 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.3973, allocations: 39.28 kB / 0.5242 GB, free: 15.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.3975, allocations: 58.36 kB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3975, allocations: 3.938 kB / 0.5243 GB, free: 15.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.3976, allocations: 106 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3977, allocations: 5.109 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.3977, allocations: 1.438 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3977, allocations: 1.5 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.3978, allocations: 14.53 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3978, allocations: 2.062 kB / 0.5244 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.422e-05/0.3978, allocations: 10.03 kB / 0.5244 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3978, allocations: 6.75 kB / 0.5244 GB, free: 15.5 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 9.291e-05/0.3979, allocations: 138.5 kB / 0.5245 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.398, allocations: 14 kB / 0.5245 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.398, allocations: 16.97 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.398, allocations: 1.531 kB / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.398, allocations: 0 / 0.5246 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.398, allocations: 4.641 kB / 0.5246 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000426/0.3985, allocations: 399.1 kB / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3985, allocations: 384 / 0.5249 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.132e-05/0.3985, allocations: 9.594 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3985, allocations: 1.641 kB / 0.525 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3986, allocations: 9.641 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.3986, allocations: 1.547 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3986, allocations: 1.125 kB / 0.525 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.3988, allocations: 208.2 kB / 0.5252 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.3988, allocations: 86.12 kB / 0.5253 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.3989, allocations: 9.969 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.637e-05/0.3989, allocations: 2.547 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.399, allocations: 5.422 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.399, allocations: 5.875 kB / 0.5253 GB, free: 14.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.3991, allocations: 150.6 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3991, allocations: 3.938 kB / 0.5254 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.3994, allocations: 21.88 kB / 0.5254 GB, free: 14.6 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.001012/0.4004, allocations: 467.8 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.4006, allocations: 64.75 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4006, allocations: 5.438 kB / 0.526 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.4007, allocations: 30.92 kB / 0.526 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.401, allocations: 23.08 kB / 0.526 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.4014, allocations: 226.6 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.4017, allocations: 0.7104 MB / 0.5269 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.924e-05/0.4018, allocations: 20.89 kB / 0.5269 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.4019, allocations: 17.17 kB / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4019, allocations: 0 / 0.527 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.004739/0.4066, allocations: 1.707 MB / 0.5286 GB, free: 12.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches