Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,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.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 110 kB / 18.45 MB, free: 4.602 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.001584/0.001584, allocations: 182.3 kB / 19.38 MB, free: 3.684 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.349/1.349, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2002/0.2002, allocations: 44.18 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 67.84 kB / 471.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3786, allocations: 60.81 MB / 0.5196 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003415/0.382, allocations: 1.719 MB / 0.5213 GB, free: 2.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3837, allocations: 0.8761 MB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.016e-05/0.3838, allocations: 4.969 kB / 0.5222 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.3842, allocations: 42.53 kB / 0.5222 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.3844, allocations: 62.44 kB / 0.5223 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3847, allocations: 109 kB / 0.5224 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.3849, allocations: 87.47 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.385, allocations: 15.86 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.3851, allocations: 49.89 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.876e-05/0.3852, allocations: 26.42 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.3853, allocations: 3.375 kB / 0.5226 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.3854, allocations: 46.41 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.368e-05/0.3854, allocations: 21.12 kB / 0.5226 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.3855, allocations: 38.12 kB / 0.5227 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.3857, allocations: 120.1 kB / 0.5228 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3858, allocations: 0.5625 kB / 0.5228 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3858, allocations: 0.9688 kB / 0.5228 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3858, allocations: 7.938 kB / 0.5228 GB, free: 1.516 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.000516/0.3863, allocations: 424.5 kB / 0.5232 GB, free: 1.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3863, allocations: 10.44 kB / 0.5232 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.65e-05/0.3864, allocations: 15.12 kB / 0.5232 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.3866, allocations: 207.1 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3867, allocations: 6.5 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.3867, allocations: 6.984 kB / 0.5234 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3869, allocations: 53.5 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3869, allocations: 5.469 kB / 0.5235 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3869, allocations: 3.984 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3869, allocations: 5.797 kB / 0.5235 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.706e-05/0.387, allocations: 17.66 kB / 0.5235 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.3873, allocations: 289.1 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3875, allocations: 61.75 kB / 0.5238 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.3875, allocations: 22.64 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3876, allocations: 5.688 kB / 0.5239 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/0.3877, allocations: 71.2 kB / 0.5239 GB, free: 420 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3877, allocations: 0 / 0.5239 GB, free: 420 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005244/0.3882, allocations: 172.5 kB / 0.5241 GB, free: 332 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.3883, allocations: 64.55 kB / 0.5242 GB, free: 256 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.3885, allocations: 219.1 kB / 0.5244 GB, free: 116 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3885, allocations: 31.17 kB / 0.5244 GB, free: 80 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.549e-05/0.3886, allocations: 105.8 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.3886, allocations: 21.67 kB / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.3887, allocations: 22.39 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3888, allocations: 331.6 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.895e-05/0.3889, allocations: 17.2 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.236e-05/0.3889, allocations: 39.05 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.3891, allocations: 66.3 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3891, allocations: 0 / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001947/0.3893, allocations: 105.3 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3893, allocations: 6.125 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3893, allocations: 5.094 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3893, allocations: 1.062 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.3894, allocations: 19.44 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3895, allocations: 1.75 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.3895, allocations: 6.969 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3895, allocations: 3.219 kB / 0.5251 GB, free: 15.47 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.0001246/0.3897, allocations: 134.4 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.3897, allocations: 14.14 kB / 0.5253 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.992e-05/0.3897, allocations: 17.31 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3898, allocations: 1.781 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3898, allocations: 7.938 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3898, allocations: 6.484 kB / 0.5253 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.3902, allocations: 388.3 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3903, allocations: 1.5 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.3903, allocations: 12.7 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3903, allocations: 0 / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3903, allocations: 12.39 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3903, allocations: 0 / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3903, allocations: 1.281 kB / 0.5257 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.3906, allocations: 205.8 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.3906, allocations: 84.52 kB / 0.526 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.3907, allocations: 15.44 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.3908, allocations: 6.875 kB / 0.526 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.3908, allocations: 9.016 kB / 0.526 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3908, allocations: 4.25 kB / 0.526 GB, free: 14.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.391, allocations: 180 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.391, allocations: 0 / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3913, allocations: 21.56 kB / 0.5262 GB, free: 14.56 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.001042/0.3923, allocations: 458.5 kB / 0.5266 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.3925, allocations: 63.84 kB / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3925, allocations: 0 / 0.5267 GB, free: 14.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.3926, allocations: 29.11 kB / 0.5267 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.0003474/0.3929, allocations: 40.25 kB / 0.5268 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.3934, allocations: 284.4 kB / 0.527 GB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3937, allocations: 0.7104 MB / 0.5277 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.3938, allocations: 15.67 kB / 0.5277 GB, free: 13.39 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3938, allocations: 1.375 kB / 0.5277 GB, free: 13.39 MB / 398.1 MB Notification: Performance of Templates: time 0.004536/0.3983, allocations: 1.98 MB / 0.5297 GB, free: 12.66 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches