Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 110 kB / 17.86 MB, free: 5.504 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.001803/0.001803, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.375/1.375, allocations: 222.9 MB / 242.4 MB, free: 15.33 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.2074/0.2074, allocations: 44.16 MB / 336.7 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 64 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.09404, allocations: 60.84 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.0029/0.09697, allocations: 1.753 MB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.09822, allocations: 0.8692 MB / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/0.09829, allocations: 0 / 471.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.09857, allocations: 71.83 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.09875, allocations: 67.78 kB / 471.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.09901, allocations: 107.8 kB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.09915, allocations: 95.73 kB / 472.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.718e-05/0.09924, allocations: 16.23 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.09932, allocations: 43.78 kB / 472.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.09942, allocations: 63.69 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.09944, allocations: 0 / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.16e-05/0.09953, allocations: 35.98 kB / 472.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.09958, allocations: 23.91 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.09963, allocations: 39.73 kB / 472.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.09977, allocations: 88.11 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.09978, allocations: 0 / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.09979, allocations: 0 / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.0998, allocations: 0 / 472.5 MB, free: 11.52 MB / 350.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.0004954/0.1003, allocations: 419 kB / 472.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.1003, allocations: 8.031 kB / 472.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1004, allocations: 16.77 kB / 472.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.1006, allocations: 212.5 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.1006, allocations: 8.375 kB / 473.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1006, allocations: 8.109 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1008, allocations: 53.67 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1008, allocations: 0 / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1008, allocations: 3.984 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1008, allocations: 4 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.1009, allocations: 15.98 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.1012, allocations: 292.8 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1014, allocations: 58.69 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.969e-05/0.1014, allocations: 20.84 kB / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.1015, allocations: 0 / 473.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.1016, allocations: 71.33 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1017, allocations: 4 kB / 473.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004977/0.1022, allocations: 177 kB / 473.8 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.1022, allocations: 55.41 kB / 473.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1024, allocations: 215.5 kB / 474.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1024, allocations: 29.69 kB / 474.1 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.1025, allocations: 100.1 kB / 474.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1025, allocations: 27.64 kB / 474.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1025, allocations: 21.72 kB / 474.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1027, allocations: 334.8 kB / 474.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.1027, allocations: 23.92 kB / 474.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-05/0.1028, allocations: 33.7 kB / 474.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.1029, allocations: 61.64 kB / 474.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1029, allocations: 4 kB / 474.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001825/0.1031, allocations: 97.58 kB / 474.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.1031, allocations: 4 kB / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1031, allocations: 4.375 kB / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.1032, allocations: 0 / 474.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.312e-05/0.1032, allocations: 19.92 kB / 474.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1033, allocations: 0 / 474.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.955e-05/0.1033, allocations: 15.94 kB / 474.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1033, allocations: 4 kB / 474.8 MB, free: 8.902 MB / 350.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 8.704e-05/0.1034, allocations: 125.8 kB / 474.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.51e-05/0.1034, allocations: 19.84 kB / 475 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.1035, allocations: 21.33 kB / 475 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1035, allocations: 4 kB / 475 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1035, allocations: 0 / 475 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1035, allocations: 3.938 kB / 475 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.1039, allocations: 391.5 kB / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1039, allocations: 0 / 475.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.943e-05/0.104, allocations: 11.98 kB / 475.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.104, allocations: 4.031 kB / 475.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.104, allocations: 7.938 kB / 475.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.104, allocations: 4.016 kB / 475.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.104, allocations: 3.984 kB / 475.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.1042, allocations: 200.2 kB / 475.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.1043, allocations: 85.02 kB / 475.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1043, allocations: 7.938 kB / 475.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.1044, allocations: 7.984 kB / 475.7 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.1044, allocations: 8 kB / 475.7 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1044, allocations: 4 kB / 475.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1046, allocations: 159.2 kB / 475.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1046, allocations: 0 / 475.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1048, allocations: 20 kB / 475.9 MB, free: 7.73 MB / 350.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.0009794/0.1058, allocations: 485.6 kB / 476.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.106, allocations: 51.97 kB / 476.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.106, allocations: 0 / 476.4 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/0.1061, allocations: 35.92 kB / 476.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.1064, allocations: 27.77 kB / 476.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.1069, allocations: 302.4 kB / 476.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.1071, allocations: 0.7121 MB / 477.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.1072, allocations: 15.44 kB / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1072, allocations: 0 / 477.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of Templates: time 0.003147/0.1103, allocations: 1.941 MB / 479.4 MB, free: 4.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches