Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007835/0.0007837, allocations: 94 kB / 18 MB, free: 5.605 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.0009057/0.0009058, allocations: 175.5 kB / 18.91 MB, free: 4.734 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.319/1.319, allocations: 223.3 MB / 242.9 MB, free: 176 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1956/0.1956, allocations: 44.25 MB / 338.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 8.75 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.09555, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001902/0.09748, allocations: 1.417 MB / 474.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.0988, allocations: 0.846 MB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.239e-05/0.0989, allocations: 4 kB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002807/0.09919, allocations: 39.88 kB / 475.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.09937, allocations: 55.81 kB / 475.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002926/0.09968, allocations: 91.78 kB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.09985, allocations: 99.67 kB / 475.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.992e-05/0.09994, allocations: 8.234 kB / 475.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.388e-05/0.1, allocations: 39.78 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.1001, allocations: 31.84 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1001, allocations: 3.938 kB / 475.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.646e-05/0.1002, allocations: 43.98 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.1003, allocations: 23.92 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.749e-05/0.1004, allocations: 53.45 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.1005, allocations: 96.02 kB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1005, allocations: 0 / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1005, allocations: 0 / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1005, allocations: 3.938 kB / 475.8 MB, free: 10.48 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.000464/0.101, allocations: 403.1 kB / 476.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.101, allocations: 8.031 kB / 476.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.1011, allocations: 16.84 kB / 476.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.1013, allocations: 228.4 kB / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1013, allocations: 384 / 476.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1014, allocations: 8.125 kB / 476.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1015, allocations: 53.67 kB / 476.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1015, allocations: 0 / 476.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1015, allocations: 0 / 476.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1015, allocations: 0 / 476.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.1016, allocations: 27.92 kB / 476.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1019, allocations: 300.8 kB / 476.8 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1021, allocations: 54.67 kB / 476.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.1022, allocations: 16.86 kB / 476.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1022, allocations: 3.984 kB / 476.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.1024, allocations: 79.33 kB / 476.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1024, allocations: 0 / 476.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004871/0.1029, allocations: 177.2 kB / 477.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1029, allocations: 59.33 kB / 477.2 MB, free: 8.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.1031, allocations: 218.7 kB / 477.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1032, allocations: 29.7 kB / 477.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.1032, allocations: 108.1 kB / 477.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.1033, allocations: 27.64 kB / 477.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.1033, allocations: 17.72 kB / 477.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.1034, allocations: 330.8 kB / 477.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.766e-05/0.1035, allocations: 19.98 kB / 477.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.994e-05/0.1035, allocations: 33.7 kB / 477.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.1036, allocations: 57.66 kB / 478 MB, free: 8.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.1036, allocations: 4 kB / 478 MB, free: 8.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1038, allocations: 101.5 kB / 478.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1039, allocations: 4 kB / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1039, allocations: 4 kB / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.1039, allocations: 0 / 478.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/0.104, allocations: 19.92 kB / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.104, allocations: 0 / 478.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.104, allocations: 12.12 kB / 478.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.1041, allocations: 4 kB / 478.1 MB, free: 7.855 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 0.0001002/0.1042, allocations: 140.3 kB / 478.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.1042, allocations: 11.81 kB / 478.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.021e-05/0.1042, allocations: 21.39 kB / 478.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1042, allocations: 0 / 478.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1042, allocations: 0 / 478.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1043, allocations: 3.938 kB / 478.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.1047, allocations: 395.3 kB / 478.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1047, allocations: 4.031 kB / 478.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.379e-05/0.1047, allocations: 8 kB / 478.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1047, allocations: 7.922 kB / 478.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1047, allocations: 3.938 kB / 478.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.1048, allocations: 4.375 kB / 478.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1048, allocations: 3.938 kB / 478.7 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.105, allocations: 212.4 kB / 478.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.105, allocations: 93.02 kB / 479 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.1051, allocations: 7.922 kB / 479 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.1052, allocations: 4 kB / 479 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.1052, allocations: 4 kB / 479 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1052, allocations: 7.984 kB / 479.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1053, allocations: 168.3 kB / 479.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1054, allocations: 0 / 479.2 MB, free: 6.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1056, allocations: 20 kB / 479.2 MB, free: 6.656 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.001022/0.1067, allocations: 478.1 kB / 479.7 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.1068, allocations: 51.98 kB / 479.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1068, allocations: 8 kB / 479.8 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.014e-05/0.1069, allocations: 31.92 kB / 479.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1073, allocations: 27.92 kB / 479.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.1077, allocations: 324 kB / 480.1 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.108, allocations: 0.7043 MB / 480.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.108, allocations: 19.42 kB / 480.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.108, allocations: 0 / 480.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of Templates: time 0.003626/0.1117, allocations: 1.949 MB / 482.8 MB, free: 3.207 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches