Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 112.3 kB / 17.99 MB, free: 5.367 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.00184/0.00184, allocations: 193.3 kB / 18.9 MB, free: 4.449 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.366/1.366, allocations: 222.9 MB / 242.6 MB, free: 15.27 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.1932/0.1932, allocations: 44.16 MB / 336.9 MB, free: 2.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63 kB / 408.6 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/0.09601, allocations: 60.83 MB / 469.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002838/0.09889, allocations: 1.753 MB / 471.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1002, allocations: 0.8653 MB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.45e-05/0.1003, allocations: 0 / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002673/0.1006, allocations: 35.84 kB / 472 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1008, allocations: 51.81 kB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.1011, allocations: 91.83 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1012, allocations: 99.69 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.1013, allocations: 12.23 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.388e-05/0.1014, allocations: 47.72 kB / 472.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.1015, allocations: 27.86 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1015, allocations: 4 kB / 472.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.871e-05/0.1016, allocations: 39.98 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.836e-05/0.1017, allocations: 23.91 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.1017, allocations: 35.73 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1019, allocations: 88.11 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1019, allocations: 7.984 kB / 472.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.103e-06/0.1019, allocations: 4 kB / 472.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1019, allocations: 0 / 472.6 MB, free: 11.49 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.0004883/0.1024, allocations: 414.8 kB / 473 MB, free: 11.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1024, allocations: 8.031 kB / 473 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.1025, allocations: 16.83 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.1027, allocations: 200.8 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1027, allocations: 4.375 kB / 473.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.1027, allocations: 12.12 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1029, allocations: 49.67 kB / 473.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1029, allocations: 15.97 kB / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1029, allocations: 0 / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1029, allocations: 0 / 473.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.103, allocations: 23.92 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.1033, allocations: 292.8 kB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.1035, allocations: 58.69 kB / 473.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.1036, allocations: 20.84 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1036, allocations: 3.938 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1038, allocations: 67.39 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1038, allocations: 3.938 kB / 473.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005354/0.1044, allocations: 177.1 kB / 473.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.1044, allocations: 51.41 kB / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.1046, allocations: 199.3 kB / 474.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1046, allocations: 25.7 kB / 474.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.085e-05/0.1047, allocations: 104.1 kB / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.1047, allocations: 15.72 kB / 474.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.1048, allocations: 33.7 kB / 474.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1049, allocations: 326.8 kB / 474.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.706e-05/0.105, allocations: 27.98 kB / 474.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.005e-05/0.105, allocations: 29.72 kB / 474.7 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.1051, allocations: 57.64 kB / 474.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1051, allocations: 0 / 474.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001889/0.1053, allocations: 113.4 kB / 474.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1054, allocations: 4 kB / 474.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1054, allocations: 4.031 kB / 474.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1054, allocations: 4 kB / 474.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.1055, allocations: 12 kB / 474.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1055, allocations: 0 / 474.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.1055, allocations: 11.92 kB / 474.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1056, allocations: 4 kB / 474.9 MB, free: 8.906 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.697e-05/0.1057, allocations: 121.8 kB / 475 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1057, allocations: 15.8 kB / 475 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.1057, allocations: 21.41 kB / 475.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1057, allocations: 0 / 475.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1058, allocations: 0 / 475.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1058, allocations: 7.875 kB / 475.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.1062, allocations: 387.4 kB / 475.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1062, allocations: 0 / 475.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.1063, allocations: 16.3 kB / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1063, allocations: 0 / 475.5 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1063, allocations: 19.97 kB / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1063, allocations: 0 / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1063, allocations: 0 / 475.5 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1065, allocations: 196.2 kB / 475.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.1066, allocations: 89 kB / 475.8 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1066, allocations: 8.125 kB / 475.8 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1067, allocations: 4 kB / 475.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.1067, allocations: 15.88 kB / 475.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1068, allocations: 7.984 kB / 475.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.1069, allocations: 148.9 kB / 475.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1069, allocations: 0 / 475.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1072, allocations: 28 kB / 476 MB, free: 7.738 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.001012/0.1082, allocations: 468.1 kB / 476.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.1084, allocations: 63.91 kB / 476.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1084, allocations: 0 / 476.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/0.1084, allocations: 27.98 kB / 476.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.1088, allocations: 27.97 kB / 476.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004729/0.1093, allocations: 300.8 kB / 476.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1096, allocations: 0.708 MB / 477.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.1096, allocations: 23.42 kB / 477.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1096, allocations: 0 / 477.6 MB, free: 6.254 MB / 350.1 MB Notification: Performance of Templates: time 0.003658/0.1133, allocations: 1.917 MB / 479.5 MB, free: 4.348 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches